Commit graph

479 commits

Author SHA1 Message Date
Elliot Saba
5a27b4c0c0
Export fenv functions on all platforms (#213)
Win32 has been using a hack to switch the `fenv` functions from `static`
to `DLLEXPORT`, we apply that hack to all platforms that do not use a
host `fenv.h`.
2020-09-02 12:33:04 -04:00
Viral B. Shah
878948d3dd
Update list of libm libraries 2020-08-29 11:25:56 -04:00
Viral B. Shah
508603d2f6
Update index.html 2020-08-29 11:18:18 -04:00
Viral B. Shah
0276147a68
Merge pull request #209 from embeddedartistry/master
Refactor: OLM_DLLEXPORT definition now lives in a standalone header.
2020-08-29 11:12:57 -04:00
Viral B. Shah
f2a8b3690a
Update download links to point to releases 2020-08-29 11:11:35 -04:00
Elliot Saba
1d6befd0df
Merge pull request #208 from cndesantana/patch-1
Fix small typo
2020-08-26 14:58:02 -07:00
Keno Fischer
4f559d4c14
Replace a few remaining __strong_reference uses (#210)
__strong_alias is an ELF feature that is not available on Darwin/MachO.
We have openlibm_strong_reference to paper over these differences,
but we weren't using it consistently. In particular, we were still
using it to define long double -> double aliases on platforms where
these are the same type (e.g. aarch64). This didn't used to matter,
because the only such platform we supported was always Linux and
thus ELF. This patch fixes these instances thus fixing the build
on Apple Silicon.
2020-07-09 15:51:12 -04:00
Phillip Johnston
0418324ca4 Refactor: OLM_DLLEXPORT definition now lives in a standalone header.
On x86_64, openlibm_fenv.h is silently coupled to openlibm_complex.h due to the inclusion of math_private.h inside of openlibm_fenv_amd64.h. The math_private.h header was included to gain access to the OLM_DLLEXPORT macro. However, this macro is redefined, since it is originally defined in openlibm_math.h. This inclusion also exposes math_private.h to public clients, which is undesirable.

Instead, a standalone header is created to contain the OLM_DLLEXPORT definition. This header is used included in the appropriate files. openlibm_fenv_amd64.h is no longer coupled to math_private.h.
2020-06-10 15:57:08 -07:00
cndesantana
861b2ad19d
Fix small typo
replace langage by language
2020-03-31 12:37:11 +02:00
Viral B. Shah
5b0e7e9813
Update FUNDING.yml 2020-02-06 05:11:46 -05:00
Viral B. Shah
382b8e92f4 Add musl-libc math library to resources. 2019-12-09 21:56:36 -05:00
Viral B. Shah
f6ad75aa67 update openlibm website. 2019-12-09 21:53:47 -05:00
Viral B. Shah
5efed306d5 Bump SONAME as discussed in #200 2019-12-09 21:43:44 -05:00
Viral B. Shah
e6ac7d7f52 Update README with new OS and arch support 2019-12-09 21:38:44 -05:00
Viral B. Shah
f731481b25
Merge pull request #199 from llucinat/wasm32-weakref
Fix weak reference macro redefinition in wasm32 target
2019-11-15 06:44:47 -05:00
llucinat
f952e167d2 Fix weak reference macro redefinition in wasm32 target 2019-11-14 08:41:10 +01:00
Viral B. Shah
97de1a46a9
Merge pull request #198 from gufe44/netbsd-fix-openlibm_weak_reference
Netbsd fix openlibm weak reference
2019-10-26 10:28:11 -04:00
gufe44
c4dca1e84a
Add files via upload 2019-10-26 01:53:42 +02:00
gufe44
d4077aa131
Suggestions
https://github.com/JuliaMath/openlibm/pull/197#pullrequestreview-307404318
2019-10-26 01:05:27 +02:00
gufe44
ea065f90cb
Update src/cdefs-compat.h
Co-Authored-By: Jameson Nash <vtjnash@gmail.com>
2019-10-25 23:45:13 +02:00
gufe44
2080b23690
NetBSD fix 2019-10-25 18:32:47 +02:00
Viral B. Shah
14bf902a7e
Merge pull request #195 from ode33/patch-1
Update README.md
2019-08-11 20:30:42 +05:30
Oliver Dechant
3bb221576c
Update README.md
broken link
2019-08-11 09:47:20 -03:00
Viral B. Shah
33c8313e0b
Create FUNDING.yml 2019-06-26 17:30:47 -04:00
Daniel Mendler
72f33a3bf9 wasm32 support (#192) 2019-04-14 15:11:03 -07:00
Jeremy Soller
f24b1bfe55 Fix compilation of gcc when using openlibm as system libm (#190)
For some sad reason, gcc poisons LONG_DOUBLE in sreal.c. The identifier has been changed to OLM_LONG_DOUBLE.
2019-01-14 11:53:14 -08:00
Viral B. Shah
0f22aeb0a9 Create CNAME 2018-12-22 17:40:45 -05:00
Viral B. Shah
c68e7d2f1f Delete CNAME 2018-12-22 17:40:07 -05:00
Viral B. Shah
b524581774 Rename doc -> docs 2018-12-22 17:28:59 -05:00
Viral B. Shah
ebbba438ae Move website to doc/ on master instead of gh-pages branch 2018-12-22 17:27:26 -05:00
sharkcz
4e3d70965d update ULPs for s390 (#187) 2018-11-12 12:04:56 -08:00
Viral B. Shah
65d7406056
Merge pull request #185 from sharkcz/s390x
Add s390(x) port
2018-11-07 10:13:56 -05:00
Dan Horák
2a1e56858a s390(x) port 2018-11-07 12:11:15 +01:00
Viral B. Shah
cca41bc1ab Merge branch 'master' of github.com:JuliaMath/openlibm 2018-06-18 18:14:22 -04:00
Viral B. Shah
74b54c71f7 Add MIPS 2018-06-18 18:13:49 -04:00
Alex Arslan
ce69bf1f32
Update references to JuliaLang to point to JuliaMath (#182) 2018-06-18 14:48:23 -07:00
Viral B. Shah
a96f0740e3
Merge pull request #130 from ginggs/enable-optimization-again
Enable optimization again for *int.c and *intf.c
2018-06-18 17:22:47 -04:00
Viral B. Shah
c782ca2e84
Merge pull request #177 from JuliaMath/aa/windows
Add Windows testing with AppVeyor
2018-06-18 16:44:17 -04:00
Viral B. Shah
52df60bfd3 Update appveyor.yml 2018-06-18 16:10:52 -04:00
Alex Arslan
ce33de1ca9 Add Windows testing with AppVeyor 2018-06-18 16:10:52 -04:00
Viral B. Shah
4971b56998
Update Make.inc 2018-06-18 16:06:34 -04:00
Viral B. Shah
ca996acc2e
Merge pull request #180 from JuliaLang/ginggs-0.5.6
Bump version to 0.5.6
2018-06-18 16:01:46 -04:00
Viral B. Shah
73b3d88ef1
Merge pull request #181 from CDLuminate/mipsport
Updated MIPS port
2018-06-18 16:01:04 -04:00
Viral B. Shah
3aa5c3bc47
Merge pull request #174 from iniserve/master
Consider:  Add TOOLPREFIX
2018-06-18 15:58:43 -04:00
Viral B. Shah
4b4b41c941
Merge pull request #178 from JuliaLang/aa/upstream
msun: signed overflow in atan2
2018-06-18 15:55:46 -04:00
Mo Zhou
a4b3fdeb76 travis: Add mips, mipsel, mips64el build. 2018-06-04 10:02:35 +00:00
Mo Zhou
ad9673e637 Makefile: clean mips/*.o 2018-06-04 09:38:27 +00:00
Radovan Birdic
4dcc76ed96 Using cdefs-compat.h and stdint.h instead <sys/types.h>
fenv-softfloat.h file added
SOFTFLOAT code parts are not tested.
2018-06-04 09:38:27 +00:00
Radovan Birdic
4f5112ea59 Support for mips architectures
Changes needed for mips suport have been added.
Code for openlibm_fenv_mips.h, mips_fpmath.h and fenv.c
was taken from https://github.com/freebsd/freebsd
2018-06-04 09:38:27 +00:00
Graham Inggs
a24a5ebb6e Enable optimization again for *int.c and *intf.c 2018-05-26 12:41:07 +02:00