exp.3
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/msun/man/cexp.3Mon Mar 7 03:09:24 2011(r219359)
@@ -0,0 +1,113 @@
+.\" Copyright (c) 2011 David Schultz
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in sour
Author: das
Date: Mon Mar 7 03:11:27 2011
New Revision: 219360
URL: http://svn.freebsd.org/changeset/base/219360
Log:
Convert log10() to use __kernel_log(), which is more accurate and simpler.
Modified:
head/lib/msun/src/e_log10.c
Modified: head/lib/msun/src/e_log10.c
==
Author: das
Date: Mon Mar 7 03:12:08 2011
New Revision: 219361
URL: http://svn.freebsd.org/changeset/base/219361
Log:
Convert log10f() to use __kernel_log(), which is more accurate and simpler.
Modified:
head/lib/msun/src/e_log10f.c
Modified: head/lib/msun/src/e_log10f.c
===
-0,0 +1,380 @@
+/*-
+ * Copyright (c) 2008-2011 David Schultz
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retai
Author: das
Date: Mon Mar 7 08:46:14 2011
New Revision: 219365
URL: http://svn.freebsd.org/changeset/base/219365
Log:
Remove part of an uncommitted change that snuck into the last commit.
Modified:
head/lib/msun/Symbol.map
Modified: head/lib/msun/Symbol.map
=
Author: das
Date: Mon Mar 7 08:54:20 2011
New Revision: 219366
URL: http://svn.freebsd.org/changeset/base/219366
Log:
Add cexp() to the complex(3) manpage. Thanks to bde for pointing out
that I missed this.
Modified:
head/lib/msun/man/complex.3
Modified: head/lib/msun/man/complex.3
=
Author: das
Date: Mon Mar 7 16:05:45 2011
New Revision: 219379
URL: http://svn.freebsd.org/changeset/base/219379
Log:
Add missing declarations that I intended to commit with r219359.
Not sure why we have math.h in lib/msun/ and complex.h in include/.
Modified:
head/include/complex.h
Modif
put (causing return 0). Adjust
+comments in README about nan(...). Fix glitch in test/dt.c.
+
+Sun Jan 16 18:22:13 MST 2005
+ gdtoa.tgz: strtodg.c: fix long-standing bug in handling input
+that rounds up to 2^nbits, e.g., strtof("16777215.5"). Thanks to
+Edward Moy for reporting this problem
On Wed, Mar 31, 2010, Juli Mallett wrote:
> Be like stdlib.h and bring in a wchar_t definition and use it to prototype
> wcstoimax and wcstoumax, rather than spelling it __wchar_t. This is
> necessary
> to use these functions in C++ where wchar_t is different to __wchar_t and is
> a built
Author: das
Date: Sat Jun 12 17:32:05 2010
New Revision: 209110
URL: http://svn.freebsd.org/changeset/base/209110
Log:
Introduce __isnanf() as an alias for isnanf(), and make the isnan()
macro expand to __isnanf() instead of isnanf() for float arguments.
This change is needed because isnanf(
On Sat, Jun 12, 2010, Steve Kargl wrote:
> On Sat, Jun 12, 2010 at 05:32:05PM +0000, David Schultz wrote:
> > Author: das
> > Date: Sat Jun 12 17:32:05 2010
> > New Revision: 209110
> > URL: http://svn.freebsd.org/changeset/base/209110
> >
> > Log:
>
On Tue, Jun 15, 2010, Kostik Belousov wrote:
> On Sat, Jun 12, 2010 at 05:32:05PM +0000, David Schultz wrote:
> > Author: das
> > Date: Sat Jun 12 17:32:05 2010
> > New Revision: 209110
> > URL: http://svn.freebsd.org/changeset/base/209110
> >
> > Log:
>
On Wed, Jun 30, 2010, Marcel Moolenaar wrote:
> >>s_scale = ((float)p->kcountsize / o ) * SCALE_1_TO_1;
> >
> > I can't see any bugs in this expression. p->kcountsize is < o, and the
> > scale factor is only 65536, so there should be no problems with overflow.
>
> This leaves GCC a
On Sat, Nov 26, 2011, Bjoern A. Zeeb wrote:
> On Sat, 26 Nov 2011, David Chisnall wrote:
>
> >Author: theraven
> >Date: Sat Nov 26 18:46:33 2011
> >New Revision: 228004
> >URL: http://svn.freebsd.org/changeset/base/228004
> >
> >Log:
> > Update libcxxrt to remove the pthread dependency.
> >
> > Al
On Wed, Dec 07, 2011, David Chisnall wrote:
> Author: theraven
> Date: Wed Dec 7 15:25:48 2011
> New Revision: 228322
> URL: http://svn.freebsd.org/changeset/base/228322
>
> Log:
> Implement quick_exit() / at_quick_exit() from C++11 / C1x. Also add a
> __noreturn macro and modify the other e
On Sun, Dec 11, 2011, David Chisnall wrote:
> On 11 Dec 2011, at 21:12, Andreas Tobler wrote:
>
> > As far as I understand, GCC does not support this attribute [[noreturn]]
> > yet. But it defines both, __cplusplus and __cplusplus=201103L. On gcc-4.7
> > __cplusplus=201103L is the default when w
On Tue, Dec 13, 2011, Ed Schouten wrote:
> Author: ed
> Date: Tue Dec 13 13:38:03 2011
> New Revision: 228469
> URL: http://svn.freebsd.org/changeset/base/228469
>
> Log:
> Replace __signed by signed.
>
> The signed keyword is an integral part of the C syntax. There's no need
> to use __s
On Thu, Dec 15, 2011, Ed Schouten wrote:
> Hello Bruce,
>
> * Bruce Evans , 20111215 15:12:
> >- recently broken for K&R since it now uses signed instead of __signed
> >- broken for longer for K&R and C90 since it uses long long. In working
> > versions, the __int64_t declarations we
On Sat, Dec 17, 2011, Dimitry Andric wrote:
> On 2011-12-17 23:32, Dimitry Andric wrote:
> > Author: dim
> > Date: Sat Dec 17 22:32:00 2011
> > New Revision: 228668
> > URL: http://svn.freebsd.org/changeset/base/228668
> >
> > Log:
> > Revert r228650, and work around the clang false positive wit
On Sat, Dec 17, 2011, David Schultz wrote:
> On Sat, Dec 17, 2011, Dimitry Andric wrote:
> > On 2011-12-17 23:32, Dimitry Andric wrote:
> > > Author: dim
> > > Date: Sat Dec 17 22:32:00 2011
> > > New Revision: 228668
> > > URL: http://svn.freeb
On Thu, Dec 22, 2011, Dimitry Andric wrote:
> Remove -mfancy-math from LIB32CPUFLAGS for amd64. It has been default
> for our gcc since more than three years (see r181534, which is also in
> stable/9 and stable/8). This flag used to be for the benefit of the old
> in-kernel math emulator,
On Thu, Dec 29, 2011, Ed Schouten wrote:
> Hi Steve,
>
> * Steve Kargl , 20111229 19:49:
> > Are you going to submit a bug report to GCC? Because, as of now,
> > you've broken my ability to do development work on bleeding edge
> > freebsd and bleeding edge gcc.
>
> Here you go:
>
> http:/
On Sun, Jan 01, 2012, Ed Schouten wrote:
> David,
>
> * David Schultz , 20120101 03:54:
> > I'm out of town and don't remember the details of this, but is there a
> > reason we couldn't simply have an appropriate #ifdef that uses
> > __attribute((__nore
Author: das
Date: Sat Jan 14 08:11:40 2012
New Revision: 230102
URL: http://svn.freebsd.org/changeset/base/230102
Log:
Fix a test that doesn't work on architectures where long double is no
wider than double. Thanks to Ian Lepore for catching the bug.
Modified:
head/tools/regression/lib/msu
Author: das
Date: Sat Jan 14 21:09:54 2012
New Revision: 230114
URL: http://svn.freebsd.org/changeset/base/230114
Log:
Update the tests for arm and other ports where long double is the same
as double, similar to r178141.
Modified:
head/tools/regression/lib/libc/stdio/test-printfloat.c
Modi
Author: das
Date: Sat Jan 14 21:38:31 2012
New Revision: 230115
URL: http://svn.freebsd.org/changeset/base/230115
Log:
Add .t files for tests, missed in prior checkins, so that prove(1) works
in this directory.
Added:
head/tools/regression/lib/libc/stdio/test-getdelim.t
- copied unchan
Author: das
Date: Mon Jan 16 04:04:35 2012
New Revision: 230188
URL: http://svn.freebsd.org/changeset/base/230188
Log:
Correct some bugs that resulted from arm/_fpmath.h being blindly copied
from the x86 version, which has a completely different long double
format.
Submitted by: Maks Ve
Author: das
Date: Mon Jan 16 04:05:53 2012
New Revision: 230189
URL: http://svn.freebsd.org/changeset/base/230189
Log:
Convert softfloat to use the standard exception flag and rounding macros
in fenv.h instead of the non-standard and incomplete ones in ieeefp.h.
Thanks to Ian Lepore for t
Author: das
Date: Mon Jan 16 04:06:56 2012
New Revision: 230190
URL: http://svn.freebsd.org/changeset/base/230190
Log:
Remove functions from softfloat's Symbol.map that don't need to be exported.
Also use the proper number of underscores for internal names. (Changing
the names should be fin
Author: das
Date: Mon Jan 16 04:08:29 2012
New Revision: 230191
URL: http://svn.freebsd.org/changeset/base/230191
Log:
Implement FLT_ROUNDS for arm. Some (all?) arm FPUs lack support for
dynamic rounding modes, but FPUless chips that use softfloat can support it
because everything is emula
==
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/lib/msun/src/fenv-softfloat.h Mon Jan 16 04:09:17 2012
(r230192)
@@ -0,0 +1,184 @@
+/*-
+ * Copyright (c) 2004-2011 David Schultz
+ * All rights reserved.
+ *
+ * Redistribution
Author: das
Date: Mon Jan 16 04:09:45 2012
New Revision: 230193
URL: http://svn.freebsd.org/changeset/base/230193
Log:
Computations on NaNs are supposed to return one of the input NaNs unchanged.
Fix a few places in the sparc64 floating-point emulator where this wasn't
being handled properly
On Mon, Jan 16, 2012, David Schultz wrote:
> Author: das
> Date: Mon Jan 16 04:08:29 2012
> New Revision: 230191
> URL: http://svn.freebsd.org/changeset/base/230191
>
> Log:
> Implement FLT_ROUNDS for arm. Some (all?) arm FPUs lack support for
> dynamic rounding
On Mon, Jan 16, 2012, David Schultz wrote:
> Author: das
> Date: Mon Jan 16 04:09:17 2012
> New Revision: 230192
> URL: http://svn.freebsd.org/changeset/base/230192
>
> Log:
> Add an implementation of fenv.h intended for platforms that lack an FPU and
> use softfloat
Author: das
Date: Mon Jan 16 05:23:13 2012
New Revision: 230198
URL: http://svn.freebsd.org/changeset/base/230198
Log:
Fix the definition of FLT_EVAL_METHOD and some minor bugs.
Modified:
head/sys/arm/include/float.h
Modified: head/sys/arm/include/float.h
Author: das
Date: Mon Jan 16 05:23:27 2012
New Revision: 230199
URL: http://svn.freebsd.org/changeset/base/230199
Log:
Remove a confused comment and fix some minor bugs.
Modified:
head/sys/mips/include/float.h
Modified: head/sys/mips/include/float.h
==
On Mon, Jan 16, 2012, Kostik Belousov wrote:
> On Sun, Jan 15, 2012 at 11:11:43PM -0500, David Schultz wrote:
> > On Mon, Jan 16, 2012, David Schultz wrote:
> > > Author: das
> > > Date: Mon Jan 16 04:08:29 2012
> > > New Revision: 230191
> > > URL:
On Tue, Jan 17, 2012, Bruce Evans wrote:
> On Mon, 16 Jan 2012, David Schultz wrote:
>
> >Log:
> > Computations on NaNs are supposed to return one of the input NaNs
> > unchanged.
> > Fix a few places in the sparc64 floating-point emulator where this was
Author: das
Date: Mon Jan 16 20:17:29 2012
New Revision: 230228
URL: http://svn.freebsd.org/changeset/base/230228
Log:
Change the definition of FLT_EVAL_METHOD from 1 to 0. A value of 1 implies
that the compiler promotes floats to double precision in computations, but
inspection of the outp
Author: das
Date: Mon Jan 16 20:17:51 2012
New Revision: 230229
URL: http://svn.freebsd.org/changeset/base/230229
Log:
Fix the value of float_t to match what is implied by FLT_EVAL_METHOD.
Modified:
head/sys/arm/include/_types.h
head/sys/mips/include/_types.h
head/sys/powerpc/include/_typ
Author: das
Date: Mon Jan 16 20:18:10 2012
New Revision: 230230
URL: http://svn.freebsd.org/changeset/base/230230
Log:
Generate a warning if the kernel's arc4random() is seeded with bogus entropy.
Modified:
head/sys/dev/random/harvest.c
Modified: head/sys/dev/random/harvest.c
===
On Wed, Jan 18, 2012, Andrey Chernov wrote:
> On Mon, Jan 16, 2012 at 08:18:10PM +0000, David Schultz wrote:
> > Author: das
> > Date: Mon Jan 16 20:18:10 2012
> > New Revision: 230230
> > URL: http://svn.freebsd.org/changeset/base/230230
> >
> > Log:
&
On Sun, Nov 20, 2011, David Chisnall wrote:
> Author: theraven
> Date: Sun Nov 20 14:45:42 2011
> New Revision: 227753
> URL: http://svn.freebsd.org/changeset/base/227753
>
> Log:
> Implement xlocale APIs from Darwin, mainly for use by libc++. This adds a
> load of _l suffixed versions of var
Author: das
Date: Fri Jan 20 06:16:14 2012
New Revision: 230363
URL: http://svn.freebsd.org/changeset/base/230363
Log:
Merge in the latest SoftFloat changes from NetBSD. (NetBSD isn't the
original vendor, but we're using their heavily modified version.)
This brings in functions for long dou
On Fri, Jan 20, 2012, David Schultz wrote:
> Merge in the latest SoftFloat changes from NetBSD. (NetBSD isn't the
> original vendor, but we're using their heavily modified version.)
> This brings in functions for long double emulation (both extended and
> quad
Author: das
Date: Fri Jan 20 06:51:41 2012
New Revision: 230366
URL: http://svn.freebsd.org/changeset/base/230366
Log:
Add parentheses where required. Without them, `sizeof LDBL_MAX'
is a syntax error and shouldn't be, while `1 FLT_ROUNDS' isn't a
syntax error and should be. Thanks to bde
Author: das
Date: Fri Jan 20 06:54:30 2012
New Revision: 230367
URL: http://svn.freebsd.org/changeset/base/230367
Log:
Don't inline fenv.h functions on arm for now. Inlining makes sense:
the function bodies require only 2 to 10 instructions. However, it
leads to application binaries that r
(r230368)
@@ -0,0 +1,271 @@
+/*-
+ * Copyright (c) 2012 David Schultz
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code
Author: das
Date: Fri Jan 20 06:59:29 2012
New Revision: 230369
URL: http://svn.freebsd.org/changeset/base/230369
Log:
Remove an errant `#define dprintf printf'. It seems to be leftover
debugging code that nothing depends on. (I've had this in my tree for
years without issue.)
Modified:
Author: das
Date: Fri Jan 20 07:01:58 2012
New Revision: 230370
URL: http://svn.freebsd.org/changeset/base/230370
Log:
Add a change I missed in r230367 (don't inline arm's fenv.h functions).
Modified:
head/lib/msun/arm/Makefile.inc
Modified: head/lib/msun/arm/Makefile.inc
===
Author: das
Date: Fri Jan 20 07:02:42 2012
New Revision: 230371
URL: http://svn.freebsd.org/changeset/base/230371
Log:
Fix a small nit noted by bde: exp_x should be of type float, not double.
Modified:
head/lib/msun/src/k_expf.c
Modified: head/lib/msun/src/k_expf.c
==
Author: das
Date: Fri Jan 20 14:44:21 2012
New Revision: 230380
URL: http://svn.freebsd.org/changeset/base/230380
Log:
Conditionalize the __floatunsisf and __floatunsidf functions, added in
NetBSD's rev 1.6 of this file, on !defined(SOFTFLOAT_FOR_GCC). These
functions are provided by libgcc
On Fri, Jan 20, 2012, Bjoern A. Zeeb wrote:
> I assume it's been this commit...
>
> mips.mips64eb buildworld failed, check _.mips.mips64eb.buildworld for details
> mips.mipseb buildworld failed, check _.mips.mipseb.buildworld for details
> mips.mipsn32eb buildworld failed, check _.mips.mipsn32eb.b
On Fri, Jan 20, 2012, Dimitry Andric wrote:
> On 2012-01-20 08:55, Roman Divacky wrote:
> >http://llvm.org/bugs/show_bug.cgi?id=11406 says this has been
> >fixed, is this just problem with us having older clang in base?
>
> Obviously, it has only been fixed in llvm trunk. If this is a pressing
>
On Fri, Jan 20, 2012, John Baldwin wrote:
> On Friday, January 20, 2012 1:50:06 am David Schultz wrote:
> > On Fri, Jan 20, 2012, David Schultz wrote:
> > > Merge in the latest SoftFloat changes from NetBSD. (NetBSD isn't the
> > > original vendor, but we
On Fri, Jan 20, 2012, John Baldwin wrote:
> On Friday, January 20, 2012 1:11:08 pm David Schultz wrote:
> > On Fri, Jan 20, 2012, John Baldwin wrote:
> > > On Friday, January 20, 2012 1:50:06 am David Schultz wrote:
> > > > On Fri, Jan 20, 2012, David Schultz wrote:
&
Author: das
Date: Mon Jan 23 06:36:41 2012
New Revision: 230475
URL: http://svn.freebsd.org/changeset/base/230475
Log:
Add C11 macros describing subnormal numbers to float.h.
Reviewed by: bde
Modified:
head/sys/amd64/include/float.h
head/sys/arm/include/float.h
head/sys/i386/include
On Thu, Jan 26, 2012, Andrey Chernov wrote:
> On Thu, Jan 26, 2012 at 11:32:38AM -0500, John Baldwin wrote:
> > On Thursday, January 26, 2012 10:56:27 am Andrey Chernov wrote:
> > > > On Thu, Jan 26, 2012 at 08:39:07AM -0500, John Baldwin wrote:
> > > > > atomic_cmpset_int(&iniseed_st
On Fri, Jan 27, 2012, Kostik Belousov wrote:
> On Fri, Jan 27, 2012 at 07:50:30PM +1100, Bruce Evans wrote:
> > On Thu, 26 Jan 2012, Gleb Smirnoff wrote:
> >
> > >On Thu, Jan 26, 2012 at 11:53:57PM +1100, Bruce Evans wrote:
> > >B> > @@ -1552,6 +1552,12 @@ aio_aqueue(struct thread *td, struct aio
On Sun, May 08, 2011, Bruce Evans wrote:
> #define bzero(p, n) ({ \
> if (__builtin_constant_p(n) && (n) <= 32) \
> __builtin_memset((p), 0, (n)); \
> else
On Wed, Aug 18, 2010, Dimitry Andric wrote:
> On 2010-08-18 22:48, m...@freebsd.org wrote:
> >> - Refactor file reading code to use pure syscalls and an internal buffer
> >>instead of stdio. This gives BSD grep a very big performance boost,
> >>its speed is now almost comparable to GNU gr
Author: das
Date: Tue Nov 30 21:26:21 2010
New Revision: 216086
URL: http://svn.freebsd.org/changeset/base/216086
Log:
Update the documentation to reflect changes to the implementation in
r197752, which is related to handling of null buffer pointers. Also
make a few minor wording changes.
On Mon, Nov 15, 2010, Bruce Evans wrote:
> On Mon, 15 Nov 2010, Alexander Best wrote:
>
> >also it seems one of the regression tests in tools/regression/lib/msun
> >fails
> >(assert tripped): test-lrint.
The test is failing due to an actual deficiency in gcc; you need
to disable the built-in ver
On Tue, Jun 15, 2010, David Schultz wrote:
> On Tue, Jun 15, 2010, Kostik Belousov wrote:
> > On Sat, Jun 12, 2010 at 05:32:05PM +0000, David Schultz wrote:
> > > Author: das
> > > Date: Sat Jun 12 17:32:05 2010
> > > New Revision: 209110
> > > URL:
On Wed, Dec 01, 2010, Garrett Cooper wrote:
> >> Any thoughts on removing the isnanf and __isnanf symbols from
> >> libm? Both symbols are already in libc for historical reasons, so
> >> the duplication isn't needed.
> >>
> >> Although we've had the duplicate isnanf symbol in libm for several
> >>
On Thu, Dec 02, 2010, Kostik Belousov wrote:
> For __isnanf, libc exports __isn...@fbsd_1.0, and libm exports
> __isn...@fbsd_1.2. I suspect that we could export both
> __isn...@fbsd_1.0 and __isn...@fbsd_1.2 from libc.
I like the idea of adding an __isn...@fbsd_1.2 alias to libc for
the benefit o
Author: das
Date: Fri Dec 3 00:05:49 2010
New Revision: 216137
URL: http://svn.freebsd.org/changeset/base/216137
Log:
Disable gcc's built-in rint() function when compiling s_nearbyint.c.
It results in incorrect optimizations that break nearbyint().
PR: 143358
Reviewed by: bd
newly added)
+++ head/tools/regression/lib/msun/test-nearbyint.c Fri Dec 3 00:44:31
2010(r216139)
@@ -0,0 +1,100 @@
+/*-
+ * Copyright (c) 2010 David Schultz
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are
Author: das
Date: Fri Dec 3 07:01:07 2010
New Revision: 216142
URL: http://svn.freebsd.org/changeset/base/216142
Log:
Explain some of the reasons that fpsetprec() is unlikely to work as
one might expect. (These functions have already been deprecated for
many years.)
PR: 1335
On Sat, Dec 04, 2010, Bruce Evans wrote:
> On Fri, 3 Dec 2010, David Schultz wrote:
>
> >Log:
> > Explain some of the reasons that fpsetprec() is unlikely to work as
> > one might expect. (These functions have already been deprecated for
> > many years.)
>
&g
On Fri, Dec 03, 2010, Kostik Belousov wrote:
> On Thu, Dec 02, 2010 at 02:00:10PM -0500, David Schultz wrote:
> > On Thu, Dec 02, 2010, Kostik Belousov wrote:
> > > For __isnanf, libc exports __isn...@fbsd_1.0, and libm exports
> > > __isn...@fbsd_1.2. I suspec
On Sun, Oct 31, 2010, Pawel Jakub Dawidek wrote:
> On Sun, Oct 31, 2010 at 08:11:19PM +0100, Ulrich Spoerlein wrote:
> > On Sun, 31.10.2010 at 17:06:03 +0100, Pawel Jakub Dawidek wrote:
> > > IMHO this option should be removed and rm(1) should fail when a user is
> > > trying to use it.
> >
> > No
Author: das
Date: Sun Dec 5 22:11:03 2010
New Revision: 216210
URL: http://svn.freebsd.org/changeset/base/216210
Log:
Add a "kernel" log function, based on e_log.c, which is useful for
implementing accurate logarithms in different bases. This is based
on an approach bde coded up years ago.
@@
-.\" Copyright (c) 2008 David Schultz
+.\" Copyright (c) 2008-2010 David Schultz
.\" All rights reserved.
.\"
.\" Redistribution and use in source and binary forms, with or without
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 17, 2008
+.Dd De
Author: das
Date: Sun Dec 5 22:12:07 2010
New Revision: 216212
URL: http://svn.freebsd.org/changeset/base/216212
Log:
Bump __FreeBSD_version for the addition of log2(). This is mainly for the
benefit of ports such as opencity and inkscape that have workarounds for
the lack of a log2() in t
/tools/regression/lib/msun/test-logarithm.c Sun Dec 5 22:18:35
2010(r216214)
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2008 David Schultz
+ * Copyright (c) 2008-2010 David Schultz
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -25,7
Author: das
Date: Sun Dec 5 23:50:49 2010
New Revision: 216221
URL: http://svn.freebsd.org/changeset/base/216221
Log:
Fix some warnings.
Modified:
head/tools/regression/lib/msun/test-fmaxmin.c
Modified: head/tools/regression/lib/msun/test-fmaxmin.c
==
Author: das
Date: Mon Dec 6 00:02:49 2010
New Revision: 216222
URL: http://svn.freebsd.org/changeset/base/216222
Log:
signbit() returns nonzero for negative arguments, but we shouldn't assume
that it always returns the same nonzero value.
Modified:
head/tools/regression/lib/msun/test-expon
Author: das
Date: Mon Dec 6 00:19:56 2010
New Revision: 216223
URL: http://svn.freebsd.org/changeset/base/216223
Log:
Work around gcc constant folding bugs.
Modified:
head/tools/regression/lib/msun/test-lrint.c
Modified: head/tools/regression/lib/msun/test-lrint.c
==
Author: das
Date: Tue Dec 7 02:19:15 2010
New Revision: 216247
URL: http://svn.freebsd.org/changeset/base/216247
Log:
Fix various nits in style and comments that were pointed out by bde.
Code changes verified with md5.
Modified:
head/lib/msun/man/math.3
head/lib/msun/src/e_log2.c
head/
Author: das
Date: Tue Dec 7 03:29:36 2010
New Revision: 216248
URL: http://svn.freebsd.org/changeset/base/216248
Log:
Another minor nit: Make sure the constant here is a float so the compiler
doesn't promote the entire expression to double.
Modified:
head/lib/msun/src/e_log2f.c
Modified:
On Wed, Jan 05, 2011, John Baldwin wrote:
> On Wednesday, January 05, 2011 7:19:10 am Gleb Kurtsou wrote:
> > On (05/01/2011 01:16), Alexander Best wrote:
> > > On Tue Jan 4 11, Dimitry Andric wrote:
> > > > Author: dim
> > > > Date: Tue Jan 4 20:51:28 2011
> > > > New Revision: 216977
> > > > UR
Author: das
Date: Sun Jan 9 06:05:02 2011
New Revision: 217180
URL: http://svn.freebsd.org/changeset/base/217180
Log:
The highest-precision floating point type on ia64 has 64 bits of
precision, so DECIMAL_DIG should be 21, as on i386/amd64.
Modified:
head/sys/ia64/include/float.h
Modified
Author: das
Date: Sun Jan 9 06:05:22 2011
New Revision: 217181
URL: http://svn.freebsd.org/changeset/base/217181
Log:
We don't support any floating point types larger than double on
powerpc, so DECIMAL_DIG should be 17.
Modified:
head/sys/powerpc/include/float.h
Modified: head/sys/powerpc
Author: das
Date: Sun Jan 9 06:05:48 2011
New Revision: 217182
URL: http://svn.freebsd.org/changeset/base/217182
Log:
Fix the value for DECIMAL_DIG on UltraSparcs. The previous value of
35 wasn't quite big enough to ensure correct rounding for very-close-
to-halfway cases.
Modified:
hea
Author: das
Date: Thu Feb 10 07:37:29 2011
New Revision: 218508
URL: http://svn.freebsd.org/changeset/base/218508
Log:
Fix a bogus threshold that was copied from the double precision version.
This commit should have no effect on correctness; it merely changes the
threshold at which a simpler
Author: das
Date: Thu Feb 10 07:37:50 2011
New Revision: 218509
URL: http://svn.freebsd.org/changeset/base/218509
Log:
For small arguments, these functions use simple approximations,
e.g. cos(small) = 1, sin(small) = small. This commit tightens
the thresholds at which the simple approximati
Author: das
Date: Thu Feb 10 07:38:13 2011
New Revision: 218510
URL: http://svn.freebsd.org/changeset/base/218510
Log:
Fix a bug where the wrong argument was passed to INSERT_WORDS().
This bug results in a type mismatch that happens to be harmless
because of the way INSERT_WORDS() works.
Author: das
Date: Thu Feb 10 07:38:38 2011
New Revision: 218511
URL: http://svn.freebsd.org/changeset/base/218511
Log:
Fix a bug where the wrong argument was passed to SET_FLOAT_WORD().
This bug results in a type mismatch that happens to be harmless
because of the way SET_FLOAT_WORD() works.
Author: das
Date: Mon Oct 10 15:39:29 2011
New Revision: 226216
URL: http://svn.freebsd.org/changeset/base/226216
Log:
Pass -std= flags in CFLAGS to mkdep. Without this, preprocessor tests
for particular compiler features might be evaluated differently by
mkdep than they would be by cc.
Mod
Author: das
Date: Mon Oct 10 15:42:33 2011
New Revision: 226217
URL: http://svn.freebsd.org/changeset/base/226217
Log:
Add a FBSD_1.3 namespace for FreeBSD 10.
Modified:
head/lib/libc/Versions.def
Modified: head/lib/libc/Versions.def
==
Author: das
Date: Mon Oct 10 15:43:09 2011
New Revision: 226218
URL: http://svn.freebsd.org/changeset/base/226218
Log:
Provide external definitions of all of the standardized functions in
fenv.h that are currently inlined.
The definitions are provided in fenv.c via 'extern inline'
decla
Author: das
Date: Tue Oct 11 05:17:26 2011
New Revision: 226244
URL: http://svn.freebsd.org/changeset/base/226244
Log:
Also pass the -ansi flag through to mkdep (requested by bde), and fix
a cut-and-paste-o (noticed by rdivacky).
Modified:
head/share/mk/bsd.dep.mk
Modified: head/share/mk/b
n/src/s_fma.c Tue Oct 11 05:17:45 2011(r226245)
@@ -1,5 +1,5 @@
/*-
- * Copyright (c) 2005 David Schultz
+ * Copyright (c) 2005-2011 David Schultz
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -32,6 +32,63 @@ __FBSDID("$FreeBSD$&qu
On Thu, Oct 13, 2011, Marcel Moolenaar wrote:
>
> On Oct 13, 2011, at 2:07 PM, John Baldwin wrote:
> >>
> >> That's really besides the point. ABI changes are made deliberately
> >> and ABIs must be well-documented for anyone to adhere to it. You
> >> can't post hoc wave your hand and say that at
Author: das
Date: Sat Oct 15 04:17:20 2011
New Revision: 226372
URL: http://svn.freebsd.org/changeset/base/226372
Log:
Replace two lines accidentally removed in r226218. Thanks to bde
for noticing this.
Modified:
head/lib/msun/i387/fenv.c
Modified: head/lib/msun/i387/fenv.c
===
ndif /* LDBL_MANT_DIG != 113 */
#if (LDBL_MANT_DIG == 53)
__weak_reference(fma, fmal);
Modified: head/lib/msun/src/s_fmaf.c
==
--- head/lib/msun/src/s_fmaf.c Fri Oct 14 22:52:46 2011(r226370)
+++ head/lib/msun/src/s_fmaf.c Sat Oc
Author: das
Date: Sat Oct 15 04:22:55 2011
New Revision: 226373
URL: http://svn.freebsd.org/changeset/base/226373
Log:
Add INSERT_WORD64 and EXTRACT_WORD64 macros for use in s_fma.c.
Modified:
head/lib/msun/src/math_private.h
Modified: head/lib/msun/src/math_private.h
===
Author: das
Date: Sat Oct 15 04:24:54 2011
New Revision: 226374
URL: http://svn.freebsd.org/changeset/base/226374
Log:
Don't define FP_FAST_FMA on sparc64; with the recent fixes, fma() is
no longer "fast" on sparc64. (It really wasn't to begin with, since
the old implementation was using lo
Author: das
Date: Sat Oct 15 05:00:56 2011
New Revision: 226375
URL: http://svn.freebsd.org/changeset/base/226375
Log:
Style fixes and updates to comments.
Submitted by: bde
Modified:
head/lib/msun/src/e_log10.c
head/lib/msun/src/e_log10f.c
head/lib/msun/src/e_log2.c
head/lib/msun/
1 - 100 of 191 matches
Mail list logo