CVS: msp430-libc/src/libm ef_exp.c,1.1,1.2
Dmitry Diky <[email protected]>
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mspgcc/msp430-libc/src/libm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7161/src/libm
Modified Files:
ef_exp.c
Log Message:
add missing expf and logf
Index: ef_exp.c
===================================================================
RCS file: /cvsroot/mspgcc/msp430-libc/src/libm/ef_exp.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- ef_exp.c 24 Oct 2002 12:08:28 -0000 1.1
+++ ef_exp.c 3 Jun 2005 16:40:13 -0000 1.2
@@ -39,6 +39,9 @@
P4 = -1.6533901999e-06, /* 0xb5ddea0e */
P5 = 4.1381369442e-08; /* 0x3331bb4c */
+
+
+
#ifdef __STDC__
float __ieee754_expf(float x) /* default IEEE double exp */
#else
@@ -98,3 +101,9 @@
return y*twom100;
}
}
+
+
+float expf(float x)
+{
+ return __ieee754_expf(x);
+}
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005