<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libc/gen/fpclassify.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/gen/fpclassify.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libc/gen/fpclassify.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2015-10-27T05:54:49Z</updated>
<entry>
<title>Wrap the remaining math functions in libc: __fpclassify*(), __flt_rounds(),</title>
<updated>2015-10-27T05:54:49Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2015-10-27T05:54:49Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=af3276d5e32f3e939032c022c530ad02a9ed9a1e'/>
<id>urn:sha1:af3276d5e32f3e939032c022c530ad02a9ed9a1e</id>
<content type='text'>
and ldexp().

ok millert@
</content>
</entry>
<entry>
<title>test LDBL_MANT_DIG == DBL_MANT_DIG instead of hardcoding 53.</title>
<updated>2013-07-03T04:46:36Z</updated>
<author>
<name>espie</name>
<email>espie@openbsd.org</email>
</author>
<published>2013-07-03T04:46:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=38ffb6671a42c58f11058f1570756a541cabcd23'/>
<id>urn:sha1:38ffb6671a42c58f11058f1570756a541cabcd23</id>
<content type='text'>
-&gt; test becomes meaningful on vax
No actual change, no bump
okay martynas@
</content>
</entry>
<entry>
<title>Switch libc and libm to use strong aliases rather than weak aliases</title>
<updated>2013-03-28T18:09:38Z</updated>
<author>
<name>martynas</name>
<email>martynas@openbsd.org</email>
</author>
<published>2013-03-28T18:09:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2fbf033e009bb5c4db92160700ec03c25f292728'/>
<id>urn:sha1:2fbf033e009bb5c4db92160700ec03c25f292728</id>
<content type='text'>
where appropriate.  Among other things makes the symbols consistent
across all architectures (notably where ldbl mantissa is 53 bits).

While at it, kill unused LINTLIBRARY/PROTOLIB1 cruft which was there
to trick lint into recording the right prototypes for aliased
functions.  Most of the work done at the awesome n2k13 hackathon.

Agreed by kettenis@, guenther@, matthew@.
</content>
</entry>
<entry>
<title>Remove excessive sys/cdefs.h inclusion</title>
<updated>2012-12-05T23:19:48Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2012-12-05T23:19:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4a39ccd02c887d988c1a5398dd2142879056da5f'/>
<id>urn:sha1:4a39ccd02c887d988c1a5398dd2142879056da5f</id>
<content type='text'>
ok guenther millert kettenis
</content>
</entry>
<entry>
<title>Trick lint into recording the right prototypes in the llib-lc.ln</title>
<updated>2011-05-30T17:28:15Z</updated>
<author>
<name>martynas</name>
<email>martynas@openbsd.org</email>
</author>
<published>2011-05-30T17:28:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9621c8b26014339ab759f206b9b55dd557e2c2b8'/>
<id>urn:sha1:9621c8b26014339ab759f206b9b55dd557e2c2b8</id>
<content type='text'>
database on platforms without extended-precision floating-point
support.

Seems like a reasonable approach to millert@.
</content>
</entry>
<entry>
<title>use sys/cdefs.h;  pointed out by theo</title>
<updated>2008-12-10T01:15:01Z</updated>
<author>
<name>martynas</name>
<email>martynas@openbsd.org</email>
</author>
<published>2008-12-10T01:15:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ab185003a6d6849232d35d611944bd62a63c0eb6'/>
<id>urn:sha1:ab185003a6d6849232d35d611944bd62a63c0eb6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>- add long double signbit</title>
<updated>2008-12-09T19:52:33Z</updated>
<author>
<name>martynas</name>
<email>martynas@openbsd.org</email>
</author>
<published>2008-12-09T19:52:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4914100a9a976afb8e70010709918b347d2eae89'/>
<id>urn:sha1:4914100a9a976afb8e70010709918b347d2eae89</id>
<content type='text'>
- make long double versions weak aliases to double versions,
on archs where long doubles are 64 bits
- no need to have two finites.  finite() and finitef() are
non-standard 3BSD obsolete versions of isfinite.  remove
from libm.  make them weak_alias in libc to __isfinite and
__isfinitef instead.  similarly make 3BSD obsolete versions
of isinf, isinff, isnan, isnanf weak_aliases to C99's
__isinf, __isinff, __isnan, __isnanf
- bump major
ok millert@
</content>
</entry>
<entry>
<title>- replace dtoa w/ David's gdtoa, version 2008-03-15</title>
<updated>2008-09-07T20:36:06Z</updated>
<author>
<name>martynas</name>
<email>martynas@openbsd.org</email>
</author>
<published>2008-09-07T20:36:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7b36286a70b46b494e2bca4a889ab49ef62ba86c'/>
<id>urn:sha1:7b36286a70b46b494e2bca4a889ab49ef62ba86c</id>
<content type='text'>
- provide proper dtoa locks
- use the real strtof implementation
- add strtold, __hdtoa, __hldtoa
- add %a/%A support
- don't lose precision in printf, don't round to double anymore
- implement extended-precision versions of libc functions: fpclassify,
isnan, isinf, signbit, isnormal, isfinite, now that the ieee.h is
fixed
- separate vax versions of strtof, and __hdtoa
- add complex math support.  added functions: cacos, casin, catan,
ccos, csin, ctan, cacosh, casinh, catanh, ccosh, csinh, ctanh, cexp,
clog, cabs, cpow, csqrt, carg, cimag, conj, cproj, creal, cacosf,
casinf, catanf, ccosf, csinf, ctanf, cacoshf, casinhf, catanhf,
ccoshf, csinhf, ctanhf, cexpf, clogf, cabsf, cpowf, csqrtf, cargf,
cimagf, conjf, cprojf, crealf
- add fdim, fmax, fmin
- add log2. (adapted implementation e_log.c.  could be more acruate
&amp; faster, but it's good enough for now)
- remove wrappers &amp; cruft in libm, supposed to work-around mistakes
in SVID, etc.;  use ieee versions.  fixes issues in python 2.6 for
djm@
- make _digittoint static
- proper definitions for i386, and amd64 in ieee.h
- sh, powerpc don't really have extended-precision
- add missing definitions for mips64 (quad), m{6,8}k (96-bit) float.h
for LDBL_*
- merge lead to frac for m{6,8}k, for gdtoa to work properly
- add FRAC*BITS &amp; EXT_TO_ARRAY32 definitions in ieee.h, for hdtoa&amp;ldtoa
to use
- add EXT_IMPLICIT_NBIT definition, which indicates implicit
normalization bit
- add regression tests for libc: fpclassify and printf
- arith.h &amp; gd_qnan.h definitions
- update ieee.h: hppa doesn't have quad-precision, hppa64 does
- add missing prototypes to gdtoaimp
- on 64-bit platforms make sure gdtoa doesn't use a long when it
really wants an int
- etc., what i may have forgotten...
- bump libm major, due to removed&amp;changed symbols
- no libc bump, since this is riding on djm's libc major crank from
a day ago

discussed with / requested by / testing theo, sthen@, djm@, jsg@,
merdely@, jsing@, tedu@, brad@, jakemsr@, and others.
looks good to millert@
parts of the diff ok kettenis@

this commit does not include:
- man page changes
</content>
</entry>
<entry>
<title>- move isinf, isnan dups to gen, since most is ieee 754</title>
<updated>2008-07-24T09:31:06Z</updated>
<author>
<name>martynas</name>
<email>martynas@openbsd.org</email>
</author>
<published>2008-07-24T09:31:06Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=610deaf95d539135818b68651d2d9514b605d5e7'/>
<id>urn:sha1:610deaf95d539135818b68651d2d9514b605d5e7</id>
<content type='text'>
- is{inf,nan} should be macros for real-floating, so rename to
__is{inf,nan}, per C99
- implement C99 __fpclassify(), __fpclassifyf(), __isfinite(),
__isfinitef(), __isnormal(), __isnormalf(), __signbit(), __signbitf()
- long functions added, but not yet enabled, till ieee.h is fixed
- implement vax equivalents of the functions
- reimplement isinff, isnanf in a better way, and move to libc
- add qnan bytes for all archs
- bump major
man pages will follow
ok millert@.  arm bits looked over by drahn@
discussed w/ theo, who showed the right direction, to put these
functions in libc
</content>
</entry>
</feed>
