Commit Graph

151 Commits

Author SHA1 Message Date
Elliot Saba e1d3d9ff43 Change to use $(CC) instead of $(FC), as we no longer have fortran in this repo 2014-04-05 11:51:26 -07:00
Viral B. Shah 86a18e4f2e Merge pull request #48 from JuliaLang/cpack
Fix missing includes
2014-03-31 09:00:43 +05:30
Milan Bouchet-Valat 5a0e3e9c5c Fix missing includes
Last commit made defition of cpack() not available to files
which do not include openlibm.h.
2014-03-30 22:53:05 +02:00
Viral B. Shah d4555b6dae Merge pull request #46 from JuliaLang/cpack
Move complex number declarations to openlibm.h
2014-03-30 22:55:45 +05:30
Milan Bouchet-Valat 3e769e48b8 Move complex number declarations to openlibm.h
These are used by openspecfun, thus they need to be available
from public headers.
2014-03-29 11:24:31 +01:00
Jameson Nash 5f4979e5d1 work around msvc bug where .model must be on its own line or it forgets about it 2014-03-18 22:03:14 -04:00
Jameson Nash 995c70eaf7 add win64 compat definitions also 2014-03-18 21:40:07 -04:00
Jameson Nash 2eb1876bb8 add more windows compatibility definitions 2014-03-18 21:22:51 -04:00
Jameson Nash 66e6f8ea91 normalize __WIN32__ to _WIN32, which is defined by all Windows compilers 2014-03-18 20:47:48 -04:00
Jiahao Chen 2aed05070f Merge pull request #45 from weatherhead99/patch-1
Update Make.inc
2014-03-12 09:47:00 -04:00
Dan Weatherill 99c712d65e Update Make.inc
update version number
2014-03-12 09:48:49 +00:00
Isaiah Norton e9c0ba7ad6 distclean: clean everything 2014-03-06 00:25:33 -05:00
Elliot Saba eb2f4d4b44 Install everything in the `include/` directory into `$(prefix)/include/openlibm`.
Note that software wishing to compile against `openlibm` should add `-I$(prefix)/include/openlibm` to their `CFLAGS`.

Closes #41
2014-02-08 18:37:33 -08:00
Kevin Squire 682198cad4 Merge pull request #38 from JuliaLang/ln_fix
Force library symbolic links to overwrite, and ignore errors.
2014-01-13 11:05:06 -08:00
Kevin Squire e76564b1d1 Force library symbolic links to overwrite, and ignore errors.
Fixes issue noted here:
https://groups.google.com/forum/#!searchin/julia-users/libopenlibm%7Csort:relevance%7Cspell:false/julia-users/6O4szE23D94/-YElnTwo63YJ
2014-01-13 10:56:35 -08:00
Jameson Nash 4689cf133e hide versioned libraries from git 2014-01-13 01:14:22 -05:00
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