COMPILATION LISTING OF SEGMENT dcxp1_ Compiled by: Multics PL/I Compiler, Release 28d, of September 14, 1983 Compiled at: Honeywell LCPD Phoenix, System M Compiled on: 10/03/83 1400.2 mst Mon Options: optimize map 1 /* ****************************************************** 2* * * 3* * * 4* * Copyright (c) 1972 by Massachusetts Institute of * 5* * Technology and Honeywell Information Systems, Inc. * 6* * * 7* * * 8* ****************************************************** */ 9 10 dcxp1_: proc (base, exponent) returns (complex float bin (63)); 11 12 dcl (base, a, f) complex float bin (63), 13 (exponent, h, k, m) fixed bin (17); 14 15 dcl divide builtin; 16 17 dcl code_ ext entry (fixed bin (17)); 18 19 a = base; 20 k = exponent; 21 22 f = 1.0e0; 23 if a = 0.0e0 24 then do; 25 if k>0 then goto clear; 26 27 call code_ (14-sign (k)); 28 goto clear; 29 end; 30 31 if k = 0 then goto ret; 32 m = abs (k); 33 34 loop: 35 h = divide(m,2,17,0); 36 37 if h+h ^= m 38 then f = f*a; 39 40 if h ^= 0 41 then do; 42 m = h; 43 a = a*a; 44 goto loop; 45 end; 46 47 if k<0 48 then f = 1.0e0/f; 49 50 ret: 51 return (f); 52 53 clear: 54 return (a); 55 56 end dcxp1_; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 10/03/83 1004.9 dcxp1_.pl1 >spec>on>pl128d>dcxp1_.pl1 NAMES DECLARED IN THIS COMPILATION. IDENTIFIER OFFSET LOC STORAGE CLASS DATA TYPE ATTRIBUTES AND REFERENCES (* indicates a set context) NAMES DECLARED BY DECLARE STATEMENT. a 000100 automatic complex float bin(63) dcl 12 set ref 19* 23 37 43* 43 43 53 base parameter complex float bin(63) dcl 12 ref 10 19 code_ 000010 constant entry external dcl 17 ref 27 divide builtin function dcl 15 ref 34 exponent parameter fixed bin(17,0) dcl 12 ref 10 20 f 000104 automatic complex float bin(63) dcl 12 set ref 22* 37* 37 47* 47 50 h 000110 automatic fixed bin(17,0) dcl 12 set ref 34* 37 37 40 42 k 000111 automatic fixed bin(17,0) dcl 12 set ref 20* 25 27 31 32 47 m 000112 automatic fixed bin(17,0) dcl 12 set ref 32* 34 37 42* NAMES DECLARED BY EXPLICIT CONTEXT. clear 000210 constant label dcl 53 ref 25 28 dcxp1_ 000014 constant entry external dcl 10 loop 000105 constant label dcl 34 ref 44 ret 000201 constant label dcl 50 ref 31 NAMES DECLARED BY CONTEXT OR IMPLICATION. abs builtin function ref 32 sign builtin function ref 27 STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 266 302 225 276 Length 446 225 14 130 40 0 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME dcxp1_ 92 external procedure is an external procedure. STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME dcxp1_ 000100 a dcxp1_ 000104 f dcxp1_ 000110 h dcxp1_ 000111 k dcxp1_ 000112 m dcxp1_ THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. call_ext_out return sign ext_entry THE FOLLOWING EXTERNAL ENTRIES ARE CALLED BY THIS PROGRAM. code_ complex_binary_op_ NO EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 10 000010 19 000021 20 000027 22 000031 23 000035 25 000060 27 000062 28 000076 31 000077 32 000101 34 000105 37 000110 40 000133 42 000135 43 000136 44 000155 47 000156 50 000201 53 000210 ----------------------------------------------------------- Historical Background This edition of the Multics software materials and documentation is provided and donated to Massachusetts Institute of Technology by Group BULL including BULL HN Information Systems Inc. as a contribution to computer science knowledge. This donation is made also to give evidence of the common contributions of Massachusetts Institute of Technology, Bell Laboratories, General Electric, Honeywell Information Systems Inc., Honeywell BULL Inc., Groupe BULL and BULL HN Information Systems Inc. to the development of this operating system. Multics development was initiated by Massachusetts Institute of Technology Project MAC (1963-1970), renamed the MIT Laboratory for Computer Science and Artificial Intelligence in the mid 1970s, under the leadership of Professor Fernando Jose Corbato. Users consider that Multics provided the best software architecture for managing computer hardware properly and for executing programs. Many subsequent operating systems incorporated Multics principles. Multics was distributed in 1975 to 2000 by Group Bull in Europe , and in the U.S. by Bull HN Information Systems Inc., as successor in interest by change in name only to Honeywell Bull Inc. and Honeywell Information Systems Inc. . ----------------------------------------------------------- Permission to use, copy, modify, and distribute these programs and their documentation for any purpose and without fee is hereby granted,provided that the below copyright notice and historical background appear in all copies and that both the copyright notice and historical background and this permission notice appear in supporting documentation, and that the names of MIT, HIS, BULL or BULL HN not be used in advertising or publicity pertaining to distribution of the programs without specific prior written permission. Copyright 1972 by Massachusetts Institute of Technology and Honeywell Information Systems Inc. Copyright 2006 by BULL HN Information Systems Inc. Copyright 2006 by Bull SAS All Rights Reserved