Commit Graph

135 Commits

Author SHA1 Message Date
Jameson Nash a076418c8b provide fegetround & family functions on win64 2014-01-13 01:10:04 -05:00
Viral B. Shah 9bd6ebcc55 Merge pull request #37 from JuliaLang/soname
Build fixes
2014-01-07 20:22:27 -08:00
Milan Bouchet-Valat b462578393 Use $(includedir) instead of hardcoding $(prefix)/include 2014-01-07 21:57:50 +01:00
Milan Bouchet-Valat bb40f6c7a8 Change PREFIX and LIBDIR to lowercase
This is the standard name.
2014-01-07 21:54:15 +01:00
Milan Bouchet-Valat 251814ebb3 Set SONAME
Inspired from what openspecfun does.
2014-01-07 21:38:10 +01:00
Viral B. Shah 71d942f730 libdir, DESTDIR, and soname updates. 2014-01-05 02:07:17 +05:30
Viral B. Shah 945c25a691 Update license and readme. 2013-12-25 08:49:44 +05:30
Viral B. Shah 320de7faca Remove makefile for openlibm-extras 2013-12-23 23:01:13 +05:30
Viral B. Shah d28fae9774 Remove amos and Faddeeva - they are now in openspecfun 2013-12-23 23:00:42 +05:30
Viral B. Shah 8d24a2416e Merge pull request #34 from nalimilan/noexecstack
Use --noexecstack for assembly code
2013-12-22 09:43:24 -08:00
Milan Bouchet-Valat 0affa5be19 Enable stack protection in all .S files
Hardware stack protection is required by most distributions.
See https://wiki.gentoo.org/wiki/Project:Hardened/GNU_stack_quickstart
2013-12-21 21:19:54 +01:00
Jeff Bezanson 9ca11f20c6 updates to s_round.c from FreeBSD 2013-12-19 17:52:23 -05:00
Jeff Bezanson 3566e32d84 new polynomials for erff, by Steve Kargl
these are both faster and more accurate

see http://svnweb.freebsd.org/base/head/lib/msun/src/s_erff.c?view=log
2013-12-19 14:06:05 -05:00
Jeff Bezanson 89d232d114 more accurate comment for the x==1.0 hack 2013-12-14 15:49:02 -05:00
Jeff Bezanson 9bc257a323 special-case more accurate answer for exp(1.0) 2013-12-12 16:42:05 -05:00
Jameson Nash 9b23967282 provide fenv functions on windows 2013-08-27 21:12:53 -04:00
Jameson Nash ec41733ce8 add DLLEXPORT to bsdsrc files 2013-08-04 10:04:16 -04:00
Jameson Nash 18f475de56 add DLLEXPORT to i387 and amd64 assembly (win32 target) and ld80/ld128 files 2013-08-03 05:52:19 -04:00
Jameson Nash f7c5ad7088 add DLLEXPORT to files in src and `int isopenlibm() = 1` function" 2013-08-03 05:16:01 -04:00
Elliot Saba 522eaccce7 Merge pull request #29 from JuliaLang/whoopsies
Remove debug printf()
2013-07-20 01:21:51 -07:00
Elliot Saba 4846e7d6c4 Remove debug printf() 2013-07-20 01:21:11 -07:00
Viral B. Shah 30852cae3b Replace use of math.h with openlibm.h 2013-07-18 19:55:51 +05:30
Viral B. Shah 0e10872a99 Merge pull request #25 from JuliaLang/sf/sincos
sincos()
2013-07-16 00:13:54 -07:00
Viral B. Shah 9df654fac7 Merge pull request #26 from JuliaLang/sf/gamma_y_fix
Modify tests from Darwin specifications to openlibm specifications
2013-07-15 23:49:22 -07:00
Elliot Saba b9a5027251 Modify tests from Darwin specifications to openlibm specifications
Modify specifications regarding exceptions thrown and return values for border conditions for tgamma, y0, y1 and yn functions
2013-07-15 22:28:41 -07:00
Elliot Saba e91e6dc990 Minor formatting to make sin/cos easier to read 2013-07-15 18:29:30 -07:00
Elliot Saba 5b4fb9af72 Uncomment tests for sincos() 2013-07-15 18:29:30 -07:00
Elliot Saba 0cf89fad5d Add in sincos(), an efficient method of computing the sine and cosine of an angle together 2013-07-15 18:29:30 -07:00
Viral B. Shah 29af332f36 Add cpow from OpenBSD
Use clang by default on Darwin
Enable cpow tests

Fix #22
2013-07-14 18:33:56 +05:30
Jameson Nash 0cd232d8cf fix calling convention on win64, mostly passing the numerical tests 2013-07-11 20:19:52 -04:00
Jameson Nash bb082aca5d add i486 processor ARCH detection 2013-06-17 20:38:51 -04:00
Jameson Nash f948e55cbe unsupport the mingw32 compiler 2013-05-29 21:08:06 -04:00
Jameson Nash bcefcc3d58 do ARCH autodetection based upon compiler instead of host 2013-05-28 09:30:36 -04:00
Jameson Nash 13cc579520 fix WINNT autodetection 2013-05-28 08:59:02 -04:00
Viral B. Shah 740f901b48 Remove slatec since we do not use it. 2013-04-25 10:17:37 +05:30
Jeff Bezanson c9cf16d2de add special cases for powers 3 and 4, in addition to 2 2013-04-03 14:40:47 -04:00
Jameson Nash 3c8738e642 fix amd64 asm syntax for windows 2013-03-02 22:50:35 -05:00
Jeff Bezanson 1b9b759b48 add exported names for ldexp 2013-03-02 21:11:39 -05:00
Jameson Nash 3fda504f47 support environment CFLAGS (and SFLAGS) without clobbering the essential build flags 2013-03-02 19:40:38 -05:00
Viral B. Shah 50ce8eff11 Reinstate amos for now, since slatec is giving some trouble. 2012-12-31 17:18:50 -05:00
Viral B. Shah c5b47b3589 Build libopenlibm-extras separately 2012-12-31 17:01:08 -05:00
Viral B. Shah 0dd0110c27 Add Makefile.extras 2012-12-31 16:47:09 -05:00
Viral B. Shah c977aa998f Add Makefile.extras to build libopenlibm-extras.
Replace amos with slatec
2012-12-31 16:37:05 -05:00
Jameson Nash 07085279a1 use $(AR) variable instead of ar 2012-12-29 02:58:14 -05:00
Viral B. Shah 34013cae40 Merge pull request #17 from stevengj/Faddeeva
add Faddeeva package from http://ab-initio.mit.edu/Faddeeva
2012-12-20 12:50:22 -08:00
Viral B. Shah e3e2501359 Merge pull request #16 from stevengj/CMPLX
use C11 CMPLX or gcc __builtin_complex; this fixes issue #15
2012-12-20 12:50:11 -08:00
Steven G. Johnson b892df1d9f added Faddeeva package from http://ab-initio.mit.edu/Faddeeva for complex error functions 2012-12-20 14:35:14 -05:00
Steven G. Johnson 67d2324543 use C11 CMPLX or gcc __builtin_complex if available to define cpack macros 2012-12-20 14:04:23 -05:00
Stefan Karpinski e08651b8a9 Merge pull request #14 from sebastien-villemot/master
Patch currently applied to the Debian package
2012-12-18 08:58:23 -08:00
Sébastien Villemot 1bbda18695 Inject FFLAGS, CFLAGS, LDFLAGS where missing 2012-12-18 17:50:02 +01:00