<feed xmlns='http://www.w3.org/2005/Atom'>
<title>musl/src/math, branch v0.9.13</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>some initial math asm for armhf (fabs[f] and sqrt[f])</title>
<updated>2013-08-16T21:32:30+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2013-08-16T21:32:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=63893d3ff1f9383ba3ce63a19b7de74ace319d77'/>
<id>63893d3ff1f9383ba3ce63a19b7de74ace319d77</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix build of x86_64 expl assembly</title>
<updated>2013-08-16T04:29:32+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2013-08-16T04:29:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=0a4a4a7a11db93c39960feea96ec9dbed969a44e'/>
<id>0a4a4a7a11db93c39960feea96ec9dbed969a44e</id>
<content type='text'>
apparently this label change was not carried over when adapting the
changes from the i386 version.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
apparently this label change was not carried over when adapting the
changes from the i386 version.
</pre>
</div>
</content>
</entry>
<entry>
<title>math: fix pow(x,-1) to raise underflow properly</title>
<updated>2013-08-15T15:13:24+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>nsz@port70.net</email>
</author>
<published>2013-08-15T15:13:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=c221af951693d526d3ae946f7e708af8e7a9bf85'/>
<id>c221af951693d526d3ae946f7e708af8e7a9bf85</id>
<content type='text'>
if FLT_EVAL_METHOD!=0 check if (double)(1/x) is subnormal and not a
power of 2 (if 1/x is power of 2 then either it is exact or the
long double to double rounding already raised inexact and underflow)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
if FLT_EVAL_METHOD!=0 check if (double)(1/x) is subnormal and not a
power of 2 (if 1/x is power of 2 then either it is exact or the
long double to double rounding already raised inexact and underflow)
</pre>
</div>
</content>
</entry>
<entry>
<title>math: fix i386 atan2.s to raise underflow for subnormal results</title>
<updated>2013-08-15T14:18:32+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>nsz@port70.net</email>
</author>
<published>2013-08-15T14:18:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=411efb3bc61298b81456d0fdab39518d983a9681'/>
<id>411efb3bc61298b81456d0fdab39518d983a9681</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>math: clean up atan2.c</title>
<updated>2013-08-15T14:05:19+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>nsz@port70.net</email>
</author>
<published>2013-08-15T14:05:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=6d85096f49fa955e7e1473b7deb30ce55b6c8be0'/>
<id>6d85096f49fa955e7e1473b7deb30ce55b6c8be0</id>
<content type='text'>
* remove volatile hacks
* don't care about inexact flag for now (removed all the +-tiny)
* fix atanl to raise underflow properly
* remove signed int arithmetics
* use pi/2 instead of pi_o_2 (gcc generates the same code, which is not
correct, but it does not matter: we mainly care about nearest rounding)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* remove volatile hacks
* don't care about inexact flag for now (removed all the +-tiny)
* fix atanl to raise underflow properly
* remove signed int arithmetics
* use pi/2 instead of pi_o_2 (gcc generates the same code, which is not
correct, but it does not matter: we mainly care about nearest rounding)
</pre>
</div>
</content>
</entry>
<entry>
<title>math: fix x86 asin, atan, exp, log1p to raise underflow</title>
<updated>2013-08-15T10:56:57+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>nsz@port70.net</email>
</author>
<published>2013-08-15T10:56:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=31c5fb80b9eae86f801be4f46025bc6532a554c5'/>
<id>31c5fb80b9eae86f801be4f46025bc6532a554c5</id>
<content type='text'>
underflow is raised by an inexact subnormal float store,
since subnormal operations are slow, check the underflow
flag and skip the store if it's already raised
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
underflow is raised by an inexact subnormal float store,
since subnormal operations are slow, check the underflow
flag and skip the store if it's already raised
</pre>
</div>
</content>
</entry>
<entry>
<title>math: fix x86 expl.s to raise underflow and clean up special case handling</title>
<updated>2013-08-15T10:54:56+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>nsz@port70.net</email>
</author>
<published>2013-08-15T10:54:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=1b3973fb43fbef80dab1dfc9c788783e78ab5043'/>
<id>1b3973fb43fbef80dab1dfc9c788783e78ab5043</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>math: fix asin, atan, log1p, tanh to raise underflow on subnormal</title>
<updated>2013-08-15T10:14:46+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>nsz@port70.net</email>
</author>
<published>2013-08-15T10:14:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=c599f4f4d705ba215a2672b92baa1c29d9dd0735'/>
<id>c599f4f4d705ba215a2672b92baa1c29d9dd0735</id>
<content type='text'>
for these functions f(x)=x for small inputs, because f(0)=0 and
f'(0)=1, but for subnormal values they should raise the underflow
flag (required by annex F), if they are approximated by a polynomial
around 0 then spurious underflow should be avoided (not required by
annex F)

all these functions should raise inexact flag for small x if x!=0,
but it's not required by the standard and it does not seem a worthy
goal, so support for it is removed in some cases.

raising underflow:
- x*x may not raise underflow for subnormal x if FLT_EVAL_METHOD!=0
- x*x may raise spurious underflow for normal x if FLT_EVAL_METHOD==0
- in case of double subnormal x, store x as float
- in case of float subnormal x, store x*x as float
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
for these functions f(x)=x for small inputs, because f(0)=0 and
f'(0)=1, but for subnormal values they should raise the underflow
flag (required by annex F), if they are approximated by a polynomial
around 0 then spurious underflow should be avoided (not required by
annex F)

all these functions should raise inexact flag for small x if x!=0,
but it's not required by the standard and it does not seem a worthy
goal, so support for it is removed in some cases.

raising underflow:
- x*x may not raise underflow for subnormal x if FLT_EVAL_METHOD!=0
- x*x may raise spurious underflow for normal x if FLT_EVAL_METHOD==0
- in case of double subnormal x, store x as float
- in case of float subnormal x, store x*x as float
</pre>
</div>
</content>
</entry>
<entry>
<title>math: fix tgamma to raise underflow for large negative values</title>
<updated>2013-08-15T10:13:02+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>nsz@port70.net</email>
</author>
<published>2013-08-15T10:13:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=cd18dc8525a275323819ac4c7826cc3404202f7b'/>
<id>cd18dc8525a275323819ac4c7826cc3404202f7b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>math: fix pow(0,-inf) to raise divbyzero flag</title>
<updated>2013-08-15T10:08:45+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>nsz@port70.net</email>
</author>
<published>2013-08-15T10:08:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=f29fea00b5bc72d4b8abccba2bb1e312684d1fce'/>
<id>f29fea00b5bc72d4b8abccba2bb1e312684d1fce</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
