From: Johan K. <joh...@id...> - 2002-01-10 19:04:38
|
Any objections if we include this in the standard distribution? It looks really nice! Johan ----- Original Message ----- From: Jesus Calvino-Fraga <je...@in...> To: Johan Knol <joh...@id...> Sent: Wednesday, January 09, 2002 4:20 AM Subject: Elementary math functions for SDCC > Hi Johan, > > I put together a library of float elementary functions for SDCC. The > library includes sinf, cosf, tanf, cotf, asinf, acosf, atanf, atan2f, > sinhf, coshf, tanhf, expf, logf, log10f, powf, sqrtf, fabsf, frexpf, > ldexpf, ceilf, floorf, and modff. I wonder if it would be possible to > distribute it together with SDCC. I am including it with this message > (mathsrc.zip). Just decompress it to \sdcc\share\sdcc\lib\mathsrc. There > is makefile called large.mak that compiles and adds the .rel and .asm to > \sdcc\share\sdcc\lib\large. I also listed the new functions in > libfloat.lib which is also included with this message. In > \sdcc\share\sdcc\lib\mathsrc\test, there are two programs I used to verify > the functions. Please let me know what you think. Best regards, > > ---------------------------------------------------------------------------- ---- --------------------------------------------------- Jesus Calvino-Fraga, Ph.D. Candidate Address: Department of Electrical and Computer Engineering University of British Columbia 2356 Main Mall Vancouver, BC, Canada V6T 1Z4 Voice: (604) 822-0532 or (604) 228-2710 Fax: (604) 822-5949 Email: je...@in... |