COMPILATION LISTING OF SEGMENT dcsqrt_ Compiled by: Multics PL/I Compiler, Release 28d, of September 14, 1983 Compiled at: Honeywell LCPD Phoenix, System M Compiled on: 10/03/83 1359.8 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 dcsqrt_: proc (number) returns (complex float bin (63)); 11 12 dcl (number, a, b) complex float bin (63); 13 14 a = number; 15 real (b) = abs (real (a)); 16 17 if imag (a) = 0.0e0 18 then do; 19 real (b) = sqrt (real (b)); 20 imag (b) = 0.0e0; 21 end; 22 else do; 23 real (b) = sqrt ((abs (a)+real (b))*0.5e0); 24 25 if real (a)<0.0e0 26 & imag (a)<0.0e0 27 then real (b) = -real (b); 28 29 imag (b) = imag (a) * 0.5e0/real (b); 30 end; 31 32 if real (a) >= 0.0e0 then return (b); 33 34 real (a) = imag (b); 35 imag (a) = real (b); 36 37 return (a); 38 39 end dcsqrt_; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 10/03/83 1004.9 dcsqrt_.pl1 >spec>on>pl128d>dcsqrt_.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 14* 15 17 23 25 25 29 32 34* 35* 37 b 000104 automatic complex float bin(63) dcl 12 set ref 15* 19* 19 20* 23* 23 25* 25 29* 29 32 34 35 number parameter complex float bin(63) dcl 12 ref 10 14 NAME DECLARED BY EXPLICIT CONTEXT. dcsqrt_ 000010 constant entry external dcl 10 NAMES DECLARED BY CONTEXT OR IMPLICATION. abs builtin function ref 15 23 imag builtin function set ref 17 20* 25 29* 29 34 35* real builtin function set ref 15 15 19* 19 23* 23 25 25* 25 29 32 34* 35 sqrt builtin function ref 19 23 STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 162 174 126 172 Length 334 126 12 123 33 0 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME dcsqrt_ 106 external procedure is an external procedure. STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME dcsqrt_ 000100 a dcsqrt_ 000104 b dcsqrt_ THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. call_ext_out return ext_entry dsqrt THE FOLLOWING EXTERNAL ENTRIES ARE CALLED BY THIS PROGRAM. 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 000004 14 000015 15 000023 17 000027 19 000031 20 000035 21 000037 23 000040 25 000064 29 000073 32 000077 34 000110 35 000112 37 000114 ----------------------------------------------------------- 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