Changeset 1391 for branches/GNU/src/gcc/libf2c/libF77/c_log.c
- Timestamp:
- Apr 27, 2004, 8:39:34 PM (22 years ago)
- Location:
- branches/GNU/src/gcc
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
libf2c/libF77/c_log.c (modified) (1 diff, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gcc
- Property svn:ignore
-
old new 26 26 configure.vr 27 27 configure.vrs 28 28 29 Makefile 29 dir.info30 30 lost+found 31 31 update.out
-
- Property svn:ignore
-
branches/GNU/src/gcc/libf2c/libF77/c_log.c
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 1 1 #include "f2c.h" 2 2 3 #ifdef KR_headers4 extern double log(), f__cabs(), atan2();5 VOID c_log(r, z) complex *r, *z;6 #else7 3 #undef abs 8 4 #include "math.h" 9 extern double f__cabs (double, double);5 extern double f__cabs(double, double); 10 6 11 void c_log(complex *r, complex *z)12 #endif 7 void 8 c_log (complex * r, complex * z) 13 9 { 14 double zi, zr;15 r->i = atan2(zi = z->i, zr = z->r);16 r->r = log( f__cabs(zr, zi));17 }10 double zi, zr; 11 (zi = z->i, zr = z->r); 12 ); 13 } -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
