Hi all,

I just committed the new mingw/mingwex/mathce dir, which contains the 
c99 math extensions
to coredll.  This code is mostly based on the libm from OpenBSD, which 
is mostly based
on code copyrighted to Sun with the following license:

/*
 * ====================================================
 * Copyright (C) 1993 by Sun Microsystems, Inc. All rights reserved.
 *
 * Developed at SunPro, a Sun Microsystems, Inc. business.
 * Permission to use, copy, modify, and distribute this
 * software is freely granted, provided that this notice
 * is preserved.
 * ====================================================
 */

A few files are BSD (The Regents version) licensed.

---

I ported and ran the newlib/libm/test testsuite to mingw32ce, MinGW and 
Cygwin. 
The failures I get on mingw32ce are very similar to the ones I get on 
desktop MinGW,
which suggests that there isn't much we can do without overriding the 
native math functions
from coredll.dll.  Surprisingly on Cygwin (which is newlib based) I get 
a lot of failures too.  Plus,
I see some suspiciously-looking-like-broken-test things on that 
testsuite, so I am not committing it
for the moment.  I've taken a few seconds look into glibc math 
testsuite, and I think it would be
nice to run it over mingw32ce and MinGW.  Maybe someone wants to take a 
stab at it?

A few notes:
    - This is purely a software based implementation - no FPU (VFP, FPA) 
is used.  Think slooow.
       Volunteers welcome.
    - Some functions are missing (particularly the long long versions)
    - Don't be surprised if you see any mathematical aberration.  My 
math programming mojo is not
    too far from nil.

Cheers,
Pedro Alves



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to