COMPILATION LISTING OF SEGMENT dxp12_ Compiled by: Multics PL/I Compiler, Release 28d, of September 14, 1983 Compiled at: Honeywell LCPD Phoenix, System M Compiled on: 10/03/83 1402.3 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 dxp12_: procedure (base, exponent) returns (float binary (63)); 11 12 declare (base, a, f) float binary (63), 13 (exponent, h, k, m) fixed binary (71); 14 dcl code_ ext entry (fixed bin); 15 dcl (abs, divide, sign) builtin; 16 a = base; 17 k = exponent; 18 f = 1.e0; 19 if a = 0.0e0 then test: do; 20 if k > 0 then clear: return (a); 21 call code_ (3 - sign (k)); 22 go to clear; 23 end test; 24 if k = 0 then go to finis; 25 m = abs (k); 26 loop: h = divide (m, 2, 71, 0); 27 if h+h ^= m then f = f*a; 28 if h = 0 then go to invert; 29 m = h; 30 a = a*a; 31 go to loop; 32 invert: if k < 0 then f = 1.e0 / f; 33 finis: return (f); 34 end dxp12_; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 10/03/83 1005.0 dxp12_.pl1 >spec>on>pl128d>dxp12_.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 float bin(63) dcl 12 set ref 16* 19 20 27 30* 30 30 abs builtin function dcl 15 ref 25 base parameter float bin(63) dcl 12 ref 10 16 code_ 000010 constant entry external dcl 14 ref 21 divide builtin function dcl 15 ref 26 exponent parameter fixed bin(71,0) dcl 12 ref 10 17 f 000102 automatic float bin(63) dcl 12 set ref 18* 27* 27 32* 32 33 h 000104 automatic fixed bin(71,0) dcl 12 set ref 26* 27 27 28 29 k 000106 automatic fixed bin(71,0) dcl 12 set ref 17* 20 21 24 25 32 m 000110 automatic fixed bin(71,0) dcl 12 set ref 25* 26 27 29* sign builtin function dcl 15 ref 21 NAMES DECLARED BY EXPLICIT CONTEXT. clear 000030 constant label dcl 20 ref 22 dxp12_ 000010 constant entry external dcl 10 finis 000104 constant label dcl 33 ref 24 invert 000077 constant label dcl 32 ref 28 loop 000055 constant label dcl 26 ref 31 test 000026 constant label dcl 19 THERE WERE NO NAMES DECLARED BY CONTEXT OR IMPLICATION. STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 142 154 111 152 Length 314 111 12 123 30 0 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME dxp12_ 80 external procedure is an external procedure. STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME dxp12_ 000100 a dxp12_ 000102 f dxp12_ 000104 h dxp12_ 000106 k dxp12_ 000110 m dxp12_ THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. call_ext_out return sign ext_entry divide_fx3 THE FOLLOWING EXTERNAL ENTRIES ARE CALLED BY THIS PROGRAM. code_ NO EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 10 000004 16 000015 17 000020 18 000022 19 000024 20 000026 21 000034 22 000047 24 000050 25 000052 26 000055 27 000062 28 000070 29 000072 30 000073 31 000076 32 000077 33 000104 ----------------------------------------------------------- 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