COMPILATION LISTING OF SEGMENT dcsin_ 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.6 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 dcsin_: proc (number) returns (complex float bin (63)); 11 12 dcl (number, a, b) complex float bin (63), 13 (sinx, cosx, sinhy, coshy) float bin (63), 14 (abs, cos, cosh, imag, real, sin, sinh) builtin, 15 i fixed bin (17); 16 17 dcl code_ ext entry (fixed bin (17)); 18 19 i = 1; 20 21 csins: 22 a = number; 23 24 test: 25 if abs (imag (a))>88.018e0 26 then do; 27 call code_ (61); 28 29 sinhy, 30 coshy = 170141182.0e30; 31 end; 32 else do; 33 sinhy = sinh (imag (a)); 34 coshy = cosh (imag (a)); 35 end; 36 37 if abs (real (a)) >= 18104398509481984.0e0 38 then do; 39 call code_ (62); 40 41 return (0.0e0); 42 end; 43 44 sinx = sin (real (a)); 45 cosx = cos (real (a)); 46 47 if i>0 48 then do; 49 real (a) = sinx*coshy; 50 imag (a) = cosx*sinhy; 51 end; 52 else if i<0 53 then do; 54 real (a) = cosx*sinhy; 55 imag (a) = -sinx*coshy; 56 57 i = -i; 58 end; 59 60 if i = 1 then return (a); 61 62 real (b) = cosx*coshy; 63 imag (b) = -sinx*sinhy; 64 65 if i = 0 then goto ret; 66 67 if b = 0.0e0 68 then do; 69 call code_ (64); 70 return (170141182.0e30*sinx); 71 end; 72 73 b = a/b; 74 75 ret: 76 return (b); 77 78 dccos_: entry (number) returns (complex float bin (63)); 79 80 i = 0; 81 goto csins; 82 83 dctan_: entry (number) returns (complex float bin (63)); 84 85 i = 2; 86 goto csins; 87 88 dcsinh_: entry (number) returns (complex float bin (63)); 89 90 i = -1; 91 92 csinhs: 93 real (a) = -imag (number); 94 imag (a) = real (number); 95 96 goto test; 97 98 dccosh_: entry (number) returns (complex float bin (63)); 99 100 i = 0; 101 goto csinhs; 102 103 dctanh_: entry (number) returns (complex float bin (63)); 104 105 i = -2; 106 goto csinhs; 107 108 end dcsin_; SOURCE FILES USED IN THIS COMPILATION. LINE NUMBER DATE MODIFIED NAME PATHNAME 0 10/03/83 1004.9 dcsin_.pl1 >spec>on>pl128d>dcsin_.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 21* 24 33 34 37 44 45 49* 50* 54* 55* 60 73 92* 94* abs builtin function dcl 12 ref 24 37 b 000104 automatic complex float bin(63) dcl 12 set ref 62* 63* 67 73* 73 75 code_ 000014 constant entry external dcl 17 ref 27 39 69 cos builtin function dcl 12 ref 45 cosh builtin function dcl 12 ref 34 coshy 000116 automatic float bin(63) dcl 12 set ref 29* 34* 49 55 62 cosx 000112 automatic float bin(63) dcl 12 set ref 45* 50 54 62 i 000120 automatic fixed bin(17,0) dcl 12 set ref 19* 47 52 57* 57 60 65 80* 85* 90* 100* 105* imag builtin function dcl 12 set ref 24 33 34 50* 55* 63* 92 94* number parameter complex float bin(63) dcl 12 ref 10 21 78 83 88 92 94 98 103 real builtin function dcl 12 set ref 37 44 45 49* 54* 62* 92* 94 sin builtin function dcl 12 ref 44 sinh builtin function dcl 12 ref 33 sinhy 000114 automatic float bin(63) dcl 12 set ref 29* 33* 50 54 63 sinx 000110 automatic float bin(63) dcl 12 set ref 44* 49 55 63 70 NAMES DECLARED BY EXPLICIT CONTEXT. csinhs 000343 constant label dcl 92 ref 101 106 csins 000027 constant label dcl 21 set ref 81 86 dccos_ 000311 constant entry external dcl 78 dccosh_ 000355 constant entry external dcl 98 dcsin_ 000020 constant entry external dcl 10 dcsinh_ 000334 constant entry external dcl 88 dctan_ 000322 constant entry external dcl 83 dctanh_ 000366 constant entry external dcl 103 ret 000300 constant label dcl 75 ref 65 test 000035 constant label dcl 24 ref 96 THERE WERE NO NAMES DECLARED BY CONTEXT OR IMPLICATION. STORAGE REQUIREMENTS FOR THIS PROGRAM. Object Text Link Symbol Defs Static Start 0 0 506 526 402 516 Length 704 402 20 141 103 0 BLOCK NAME STACK SIZE TYPE WHY NONQUICK/WHO SHARES STACK FRAME dcsin_ 126 external procedure is an external procedure. STORAGE FOR AUTOMATIC VARIABLES. STACK FRAME LOC IDENTIFIER BLOCK NAME dcsin_ 000100 a dcsin_ 000104 b dcsin_ 000110 sinx dcsin_ 000112 cosx dcsin_ 000114 sinhy dcsin_ 000116 coshy dcsin_ 000120 i dcsin_ THE FOLLOWING EXTERNAL OPERATORS ARE USED BY THIS PROGRAM. call_ext_out return ext_entry any_to_any_rd dsin dcos THE FOLLOWING EXTERNAL ENTRIES ARE CALLED BY THIS PROGRAM. code_ complex_binary_op_ dsinh_ dsinh_$dcosh_ NO EXTERNAL VARIABLES ARE USED BY THIS PROGRAM. LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC LINE LOC 10 000014 19 000025 21 000027 24 000035 27 000044 29 000055 31 000060 33 000061 34 000072 37 000103 39 000110 41 000121 44 000130 45 000134 47 000140 49 000142 50 000145 51 000150 52 000151 54 000152 55 000155 57 000161 60 000163 62 000175 63 000200 65 000204 67 000206 69 000232 70 000243 73 000260 75 000300 78 000307 80 000316 81 000317 83 000320 85 000327 86 000331 88 000332 90 000341 92 000343 94 000350 96 000352 98 000353 100 000362 101 000363 103 000364 105 000373 106 000375 ----------------------------------------------------------- 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