History log of /relibc/openlibm/src/ (Results 1 – 25 of 131)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
e2da0daf14-Jan-2019 Jeremy Soller <jeremy@system76.com>

Rename to OLM_LONG_DOUBLE

cecfae7918-Nov-2018 Jeremy Soller <jeremy@system76.com>

For some sad reason, gcc poisons LONG_DOUBLE in sreal.c. The identifier has been changed to OPENLIBM_LONG_DOUBLE

2a1e568505-Sep-2016 Dan Horák <dan@danny.cz>

s390(x) port

73b3d88e18-Jun-2018 Viral B. Shah <viral@juliacomputing.com>

Merge pull request #181 from CDLuminate/mipsport

Updated MIPS port

4f5112ea24-Jan-2017 Radovan Birdic <Radovan.Birdic@imgtec.com>

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

787652b007-Apr-2018 Jeff Walden <jwalden@mit.edu>

msun: signed overflow in atan2

As a component of atan2(y, x), the case of x == 1.0 is farmed out to
atan(y). The current implementation of this comparison is vulnerable
to signed integer underflow (

msun: signed overflow in atan2

As a component of atan2(y, x), the case of x == 1.0 is farmed out to
atan(y). The current implementation of this comparison is vulnerable
to signed integer underflow (that is, undefined behavior), and it's
performed in a somewhat more complicated way than it need be. Change
it to not be quite so cute, rather directly comparing the high/low
bits of x to the specific IEEE-754 bit pattern that encodes 1.0.

Note that while there are three different e_atan* files in the
relevant directory, only this one needs fixing. e_atan2f.c already
compares against the full bit pattern encoding 1.0f, while
e_atan2l.cuses bitwise-ands/ors/nots and so doesn't require a change.

Incorporated from FreeBSD source tree. See:
https://github.com/freebsd/freebsd/commit/b21ccf63f28a3a4692d8a31419e0a725a1b1a800

show more ...

72bfab4606-Apr-2018 Alex Arslan <ararslan@comcast.net>

Avoid redefining macros defined by the system

In particular, OpenBSD already defines __GNUC_PREREQ__, __BEGIN_DECLS,
and __warn_references. Hiding the definitions behind #ifndef guards
avoids warnin

Avoid redefining macros defined by the system

In particular, OpenBSD already defines __GNUC_PREREQ__, __BEGIN_DECLS,
and __warn_references. Hiding the definitions behind #ifndef guards
avoids warnings when building.

show more ...

d134c84e26-Jan-2018 Takuya Nakaoka <takuyan@google.com>

Fix reversed outputs of sincosl

3db5e54630-Nov-2017 Patrick Kofod Mogensen <patrick.mogensen@gmail.com>

Minor typo in expm1 comment

`exp(+-inf)={inf, 0}`, so...

c3968ca122-Sep-2017 Alex Arslan <ararslan@comcast.net>

Allow building on DragonFly BSD (#167)

b5b63ba627-Jul-2017 Martin Lucina <martin.lucina@docker.com>

Enable long double functions for aarch64

Per discussion in #157, it is correct to enable these for aarch64.

c214530615-Jan-2017 Elliot Saba <staticfloat@gmail.com>

Cleanup `ARCH` handling, reorganize `AArch64` and `Make.inc`.

* Previously, behavior differed if the same value of `ARCH` was defined
within `Make.inc` or defined on the command line. Don't do th

Cleanup `ARCH` handling, reorganize `AArch64` and `Make.inc`.

* Previously, behavior differed if the same value of `ARCH` was defined
within `Make.inc` or defined on the command line. Don't do that.

* Provide saner defaults for `ARCH` and `MARCH`, and more importantly,
allow for the proper overriding of both.

* Split `AArch64` code further away from the other `arm` code.

show more ...

5fd9dcbb03-May-2016 Keno Fischer <kfischer@college.harvard.edu>

Fix incorrect attribute as a result of blanket rename

28fb939b14-Mar-2016 Keno Fischer <kfischer@college.harvard.edu>

Blanket rename DLLEXPORT->OLM_DLLEXPORT


/relibc/openlibm/amd64/fenv.c
/relibc/openlibm/bsdsrc/b_exp.c
/relibc/openlibm/bsdsrc/b_log.c
/relibc/openlibm/bsdsrc/b_tgamma.c
/relibc/openlibm/i387/bsd_ieeefp.h
/relibc/openlibm/i387/fenv.c
/relibc/openlibm/include/openlibm_fenv_amd64.h
/relibc/openlibm/include/openlibm_math.h
/relibc/openlibm/ld128/s_exp2l.c
/relibc/openlibm/ld128/s_nanl.c
/relibc/openlibm/ld80/s_exp2l.c
/relibc/openlibm/ld80/s_nanl.c
cdefs-compat.h
common.c
e_acos.c
e_acosf.c
e_acosh.c
e_acoshf.c
e_acosl.c
e_asin.c
e_asinf.c
e_asinl.c
e_atan2.c
e_atan2f.c
e_atan2l.c
e_atanh.c
e_atanhf.c
e_cosh.c
e_coshf.c
e_exp.c
e_expf.c
e_fmod.c
e_fmodf.c
e_fmodl.c
e_hypot.c
e_hypotf.c
e_hypotl.c
e_j0.c
e_j0f.c
e_j1.c
e_j1f.c
e_jn.c
e_jnf.c
e_lgamma.c
e_lgamma_r.c
e_lgammaf.c
e_lgammaf_r.c
e_lgammal.c
e_log.c
e_log10.c
e_log10f.c
e_log2.c
e_log2f.c
e_logf.c
e_pow.c
e_powf.c
e_remainder.c
e_remainderf.c
e_remainderl.c
e_sinh.c
e_sinhf.c
e_sqrt.c
e_sqrtf.c
e_sqrtl.c
k_cos.c
k_cosf.c
k_exp.c
k_expf.c
k_rem_pio2.c
k_sin.c
k_sinf.c
k_tanf.c
math_private.h
s_asinh.c
s_asinhf.c
s_atan.c
s_atanf.c
s_atanl.c
s_carg.c
s_cargf.c
s_cargl.c
s_cbrt.c
s_cbrtf.c
s_cbrtl.c
s_ccosh.c
s_ccoshf.c
s_ceil.c
s_ceilf.c
s_ceill.c
s_cexp.c
s_cexpf.c
s_cimag.c
s_cimagf.c
s_cimagl.c
s_conj.c
s_conjf.c
s_conjl.c
s_copysign.c
s_copysignf.c
s_copysignl.c
s_cos.c
s_cosf.c
s_cosl.c
s_cpow.c
s_cpowf.c
s_cpowl.c
s_cproj.c
s_cprojf.c
s_cprojl.c
s_creal.c
s_crealf.c
s_creall.c
s_csinh.c
s_csinhf.c
s_csqrt.c
s_csqrtf.c
s_csqrtl.c
s_ctanh.c
s_ctanhf.c
s_erf.c
s_erff.c
s_exp2.c
s_exp2f.c
s_expm1.c
s_expm1f.c
s_fabs.c
s_fabsf.c
s_fabsl.c
s_fdim.c
s_floor.c
s_floorf.c
s_floorl.c
s_fma.c
s_fmaf.c
s_fmal.c
s_fmax.c
s_fmaxf.c
s_fmaxl.c
s_fmin.c
s_fminf.c
s_fminl.c
s_fpclassify.c
s_frexp.c
s_frexpf.c
s_frexpl.c
s_ilogb.c
s_ilogbf.c
s_ilogbl.c
s_isfinite.c
s_isinf.c
s_isnan.c
s_isnormal.c
s_log1p.c
s_log1pf.c
s_logb.c
s_logbf.c
s_logbl.c
s_lrint.c
s_lround.c
s_modf.c
s_modff.c
s_modfl.c
s_nan.c
s_nearbyint.c
s_nextafter.c
s_nextafterf.c
s_nextafterl.c
s_nexttoward.c
s_nexttowardf.c
s_remquo.c
s_remquof.c
s_remquol.c
s_rint.c
s_rintf.c
s_rintl.c
s_round.c
s_roundf.c
s_roundl.c
s_scalbln.c
s_scalbn.c
s_scalbnf.c
s_scalbnl.c
s_signbit.c
s_sin.c
s_sincos.c
s_sincosf.c
s_sincosl.c
s_sinf.c
s_sinl.c
s_tan.c
s_tanf.c
s_tanh.c
s_tanhf.c
s_tanl.c
s_tgammaf.c
s_trunc.c
s_truncf.c
s_truncl.c
w_cabs.c
w_cabsf.c
w_cabsl.c
81053b7f13-Mar-2016 Keno Fischer <keno@juliacomputing.com>

Fix Clang warnings on Windows

- Align DLLEXPORT in definitions and declations. There is still a few
cases left, where the declation in the compiler's complex.h disagrees
with the implementation

Fix Clang warnings on Windows

- Align DLLEXPORT in definitions and declations. There is still a few
cases left, where the declation in the compiler's complex.h disagrees
with the implementation here. For now we can't do anything about that,
but maybe should be revisited in the future.
- Fix the syntax on an .ascii directive that gcc accepted mistakingly, but
clang does not.

show more ...

e836b30c08-Mar-2016 Milan Bouchet-Valat <nalimilan@club.fr>

Avoid defining __pure2 if already defined

This gets rid of a warning on Mac OS X due to the fact that
sys/cdefs.h defines it already.

226faf4e03-Mar-2016 Milan Bouchet-Valat <nalimilan@club.fr>

Avoid redefining __pure2 in types-compat

2c3f3b5a28-Feb-2016 Milan Bouchet-Valat <nalimilan@club.fr>

Cleanup bsd_cdefs.h, merge i387 and amd64 duplicate files

Most macros were not actually used. This gets rid of warnings when
building on Linux.

b5ca785d27-Feb-2016 Milan Bouchet-Valat <nalimilan@club.fr>

Avoid redefining endianness macros with some gcc versions

_LITTLE_ENDIAN and _BIG_ENDIAN are built-in on some platforms/versions.
Better use __ORDER_LITTLE_ENDIAN__, __ORDER_BIG_ENDIAN__ and __BYTE_

Avoid redefining endianness macros with some gcc versions

_LITTLE_ENDIAN and _BIG_ENDIAN are built-in on some platforms/versions.
Better use __ORDER_LITTLE_ENDIAN__, __ORDER_BIG_ENDIAN__ and __BYTE_ORDER__,
which are standard for gcc and clang, and define them when they are missing.
Also remove the special-case for FreeBSD, which is apprently not needed.

show more ...

949c530927-Feb-2016 Milan Bouchet-Valat <nalimilan@club.fr>

Fix misleading indentation (spotted by GCC 6)

62c7361a27-Feb-2016 Ed Schouten <ed@nuxi.nl>

Suppress a compiler warning generated by Clang.

Clang doesn't like it if you bitshift negative numbers, as the behaviour
of it is undefined. Solve this by first shifting, followed by negating.
This

Suppress a compiler warning generated by Clang.

Clang doesn't like it if you bitshift negative numbers, as the behaviour
of it is undefined. Solve this by first shifting, followed by negating.
This was fixed similarly in FreeBSD.

show more ...

78c0afb227-Feb-2016 Ed Schouten <ed@nuxi.nl>

Rename _scan_nan() to __scan_nan().

The current tradition of openlibm is to hide all of its internal symbols
into the reserved system namespace. CloudABI has a check in place to
ensure that its C li

Rename _scan_nan() to __scan_nan().

The current tradition of openlibm is to hide all of its internal symbols
into the reserved system namespace. CloudABI has a check in place to
ensure that its C library (which contains openlibm) to not place any
unwanted symbols into the public namespace. openlibm seems to leak
_scan_nan() in there, so we'd better add an additional underscore.

show more ...

05f9de6c24-Feb-2016 Viral B. Shah <viral@mayin.org>

Revert "moved src/cdefs-compat.h -> include/cdefs-compat.h"

This reverts commit 07a535e55dc2a725b08cd7304b1d6e1d7039a619.

07a535e524-Feb-2016 Viral B. Shah <viral@mayin.org>

moved src/cdefs-compat.h -> include/cdefs-compat.h

830dc99122-Feb-2016 Simon Byrne <simonbyrne@gmail.com>

Support powerpc

This fixes #113, based on files from FreeBSD. Tested on machine hosted by [OSUOSL](http://osuosl.org/services/powerdev/).

123456