<feed xmlns='http://www.w3.org/2005/Atom'>
<title>musl/src/math, branch v1.1.5</title>
<subtitle>musl - an implementation of the standard library for Linux-based systems</subtitle>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/'/>
<entry>
<title>always provide __fpclassifyl and __signbitl definitions</title>
<updated>2014-10-08T14:17:19+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2014-10-08T14:17:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=0539e6dad39c1b3b204a14c403da68b587b1b3da'/>
<id>0539e6dad39c1b3b204a14c403da68b587b1b3da</id>
<content type='text'>
previously the external definitions of these functions were omitted on
archs where long double is the same as double, since the code paths in
the math.h macros which would call them are unreachable. however, even
if they are unreachable, the definitions are still mandatory. omitting
them is invalid C, and in the case of a non-optimizing compiler, will
result in a link error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
previously the external definitions of these functions were omitted on
archs where long double is the same as double, since the code paths in
the math.h macros which would call them are unreachable. however, even
if they are unreachable, the definitions are still mandatory. omitting
them is invalid C, and in the case of a non-optimizing compiler, will
result in a link error.
</pre>
</div>
</content>
</entry>
<entry>
<title>math: fix exp10 not to raise invalid exception on NaN</title>
<updated>2014-09-18T15:52:50+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>nsz@port70.net</email>
</author>
<published>2014-09-18T15:02:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=18daae313531ed597d0f6227d15af00b04b104c8'/>
<id>18daae313531ed597d0f6227d15af00b04b104c8</id>
<content type='text'>
This was not caught earlier because gcc incorrectly generates quiet
relational operators that never raise exceptions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This was not caught earlier because gcc incorrectly generates quiet
relational operators that never raise exceptions.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix exp10l.c to include float.h</title>
<updated>2014-09-08T14:24:17+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>nsz@port70.net</email>
</author>
<published>2014-09-08T14:24:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=e6403887ccf172974d2da5304c3e4043ebad41d2'/>
<id>e6403887ccf172974d2da5304c3e4043ebad41d2</id>
<content type='text'>
the previous commit was a no op in exp10l because LDBL_* macros
were implicitly 0 (the preprocessor does not warn about undefined
symbols).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the previous commit was a no op in exp10l because LDBL_* macros
were implicitly 0 (the preprocessor does not warn about undefined
symbols).
</pre>
</div>
</content>
</entry>
<entry>
<title>prune math code on archs with binary64 long double</title>
<updated>2014-09-08T13:51:42+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>nsz@port70.net</email>
</author>
<published>2014-09-08T13:51:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=0c32c2635eedfcd6af3606735ac38197f8705734'/>
<id>0c32c2635eedfcd6af3606735ac38197f8705734</id>
<content type='text'>
__polevll, __p1evll and exp10l were provided on archs when long double
is the same as double. The first two were completely unused and exp10l
can be a wrapper around exp10.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
__polevll, __p1evll and exp10l were provided on archs when long double
is the same as double. The first two were completely unused and exp10l
can be a wrapper around exp10.
</pre>
</div>
</content>
</entry>
<entry>
<title>math: fix aliasing violation in long double wrappers</title>
<updated>2014-04-11T16:07:08+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>nsz@port70.net</email>
</author>
<published>2014-04-11T15:57:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=73c870ed3209b68b5c8c350534508cc9d95a6bcb'/>
<id>73c870ed3209b68b5c8c350534508cc9d95a6bcb</id>
<content type='text'>
modfl and sincosl were passing long double* instead of double*
to the wrapped double precision functions (on archs where long
double and double have the same size).
This is fixed now by using temporaries (this is not optimized
to a single branch so the generated code is a bit bigger).
Found by Morten Welinder.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
modfl and sincosl were passing long double* instead of double*
to the wrapped double precision functions (on archs where long
double and double have the same size).
This is fixed now by using temporaries (this is not optimized
to a single branch so the generated code is a bit bigger).
Found by Morten Welinder.
</pre>
</div>
</content>
</entry>
<entry>
<title>x32 port (diff against vanilla x86_64)</title>
<updated>2014-02-23T10:09:16+00:00</updated>
<author>
<name>rofl0r</name>
<email>retnyg@gmx.net</email>
</author>
<published>2014-01-07T21:53:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=664cd341921007cea52c8891f27ce35927dca378'/>
<id>664cd341921007cea52c8891f27ce35927dca378</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>import vanilla x86_64 code as x32</title>
<updated>2014-02-23T10:07:18+00:00</updated>
<author>
<name>rofl0r</name>
<email>retnyg@gmx.net</email>
</author>
<published>2014-01-07T21:43:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=323272db175204b951f119dae4bd99ef05e20f13'/>
<id>323272db175204b951f119dae4bd99ef05e20f13</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>math: add drem and dremf weak aliases to i386 remainder asm</title>
<updated>2014-01-08T21:51:46+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>nsz@port70.net</email>
</author>
<published>2014-01-08T21:51:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=bcff807dc3c1f07db61dae804086b8183bf5df7b'/>
<id>bcff807dc3c1f07db61dae804086b8183bf5df7b</id>
<content type='text'>
weak_alias was only in the c code, so drem was missing on platforms
where remainder is implemented in asm.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
weak_alias was only in the c code, so drem was missing on platforms
where remainder is implemented in asm.
</pre>
</div>
</content>
</entry>
<entry>
<title>math: define _GNU_SOURCE when implementing non-standard math functions</title>
<updated>2013-12-12T03:42:11+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>nsz@port70.net</email>
</author>
<published>2013-12-12T03:42:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=ec411999a0262c8e3e6be53ae11ad761776a2fc1'/>
<id>ec411999a0262c8e3e6be53ae11ad761776a2fc1</id>
<content type='text'>
this makes the prototypes in math.h are visible so they are checked agaist
the function definitions
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this makes the prototypes in math.h are visible so they are checked agaist
the function definitions
</pre>
</div>
</content>
</entry>
<entry>
<title>math: clean up __rem_pio2</title>
<updated>2013-11-24T01:06:38+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>nsz@port70.net</email>
</author>
<published>2013-11-24T01:06:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=3fdf94ec5101fab63d0e8196d3e557641a0e19e2'/>
<id>3fdf94ec5101fab63d0e8196d3e557641a0e19e2</id>
<content type='text'>
- remove the HAVE_EFFICIENT_IRINT case: fn is an exact integer, so
  it can be converted to int32_t a bit more efficiently than with a
  cast (the rounding mode change can be avoided), but musl does not
  support this case on any arch.
- __rem_pio2: use double_t where possible
- __rem_pio2f: use less assignments to avoid stores on i386
- use unsigned int bit manipulation (and union instead of macros)
- use hexfloat literals instead of named constants
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- remove the HAVE_EFFICIENT_IRINT case: fn is an exact integer, so
  it can be converted to int32_t a bit more efficiently than with a
  cast (the rounding mode change can be avoided), but musl does not
  support this case on any arch.
- __rem_pio2: use double_t where possible
- __rem_pio2f: use less assignments to avoid stores on i386
- use unsigned int bit manipulation (and union instead of macros)
- use hexfloat literals instead of named constants
</pre>
</div>
</content>
</entry>
</feed>
