#
ec79bc0d |
| 19-Jul-2004 |
David Schultz <das@FreeBSD.org> |
Fix two bugs in the signbit() macro, which was implemented last year:
- It was added to libc instead of libm. Hopefully no programs rely on this mistake.
- It didn't work properly on large long
Fix two bugs in the signbit() macro, which was implemented last year:
- It was added to libc instead of libm. Hopefully no programs rely on this mistake.
- It didn't work properly on large long doubles because its argument was converted to type double, resulting in undefined behavior.
show more ...
|
#
240dbabf |
| 09-Jul-2004 |
David Schultz <das@FreeBSD.org> |
Implement the classification macros isfinite(), isinf(), isnan(), and isnormal() the hard way, rather than relying on fpclassify(). This is a lose in the sense that we need a total of 12 functions,
Implement the classification macros isfinite(), isinf(), isnan(), and isnormal() the hard way, rather than relying on fpclassify(). This is a lose in the sense that we need a total of 12 functions, but it is necessary for binary compatibility because we have never bumped libm's major version number. In particular, isinf(), isnan(), and isnanf() were BSD libc functions before they were C99 macros, so we can't reimplement them in terms of fpclassify() without adding a dependency on libc.so.5. I have tried to arrange things so that programs that could be compiled in FreeBSD 4.X will generate the same external references when compiled in 5.X. At the same time, the new macros should remain C99-compliant.
The isinf() and isnan() functions remain in libc for historical reasons; however, I have moved the functions that implement the macros isfinite() and isnormal() to libm where they belong. Moreover, half a dozen MD versions of isinf() and isnan() have been replaced with MI versions that work equally well.
Prodded by: kris
show more ...
|
#
9428e108 |
| 06-Jul-2004 |
David Schultz <das@FreeBSD.org> |
Add C99's nearbyint{,f}() functions as wrappers around rint(). These trivial implementations are about 25 times slower than rint{,f}() on x86 due to the FP environment save/restore. They should event
Add C99's nearbyint{,f}() functions as wrappers around rint(). These trivial implementations are about 25 times slower than rint{,f}() on x86 due to the FP environment save/restore. They should eventually be redone in terms of fegetround() and bit fiddling.
show more ...
|
#
4f82cb46 |
| 30-Jun-2004 |
David Schultz <das@FreeBSD.org> |
Implement and document fdim{,f,l}, fmax{,f,l}, and fmin{,f,l}.
|
#
c987479d |
| 24-Jun-2004 |
Marcel Moolenaar <marcel@FreeBSD.org> |
s/ARCH/ARCH_SUBDIR/g -- This reduces the chance of possible conflicts with the user's environment.
Wondered why his cross-builds kept failing: marcel
|
#
c8764bba |
| 20-Jun-2004 |
Stefan Farfeleder <stefanf@FreeBSD.org> |
Completely remove s_ilogb.S as the assembler implementation gives very little speed improvement to none at all over the MI version.
Submitted by: bde
|
#
20954759 |
| 20-Jun-2004 |
David Schultz <das@FreeBSD.org> |
Connect scalbln(), trunc(), and the associated documentation to the build.
|
#
d0f13633 |
| 07-Jun-2004 |
David Schultz <das@FreeBSD.org> |
Add round(3) and roundf(3) and the associated documentation.
PR: 59797 Submitted by: "Steven G. Kargl" <kargl@troutmask.apl.washington.edu> Reviewed by: bde (earlier version, last year)
|
#
54dd6976 |
| 06-Jun-2004 |
David Schultz <das@FreeBSD.org> |
Add fenv.h, fenv.c, and the associated documentation to the libm build. To facilitate this, add ${.CURDIR}/${ARCH} to make's search path unconditionally.
Reviewed by: standards@
|
#
8b5cd5a6 |
| 30-May-2004 |
Stefan Farfeleder <stefanf@FreeBSD.org> |
Add implementations for cimag{,f,l}, creal{,f,l} and conj{,f,l}. They are needed for cases where GCC's builtin functions cannot be used and for compilers that don't know about them.
Approved by: da
Add implementations for cimag{,f,l}, creal{,f,l} and conj{,f,l}. They are needed for cases where GCC's builtin functions cannot be used and for compilers that don't know about them.
Approved by: das (mentor)
show more ...
|
Revision tags: release/4.10.0_cvs, release/4.10.0 |
|
#
b60cb13f |
| 07-May-2004 |
Stefan Farfeleder <stefanf@FreeBSD.org> |
Add an implementation of copysignl(), a long double version of copysign().
Approved by: das (mentor)
|
#
325152e8 |
| 07-May-2004 |
Stefan Farfeleder <stefanf@FreeBSD.org> |
Add an MLINK for fabsl().
Approved by: das (mentor)
|
Revision tags: release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0 |
|
#
e334ea2e |
| 25-Oct-2003 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
- fabsl.c should be named s_fabsl.c for consistency with libmsun's documented naming scheme (unfortunately the documentation isn't in the tree as far as I can tell); no repocopy is required as
- fabsl.c should be named s_fabsl.c for consistency with libmsun's documented naming scheme (unfortunately the documentation isn't in the tree as far as I can tell); no repocopy is required as there is no history to preserve.
- replace simple and almost-correct implementation with slightly hackish but definitely correct implementation (tested on i386, alpha, sparc64) which requires pulling in fpmath.h and the MD _fpmath.h from libc.
- try not to make a mess of the Makefile in the process.
- enterprising minds are encouraged to implement more C99 long double functions.
show more ...
|
#
4318dce6 |
| 23-Oct-2003 |
Dag-Erling Smørgrav <des@FreeBSD.org> |
Connect fabsl.c to the build.
|
#
41d8423f |
| 17-Aug-2003 |
Gordon Tetlow <gordon@FreeBSD.org> |
Stage 3 of dynamic root support. Make all the libraries needed to run binaries in /bin and /sbin installed in /lib. Only the versioned files reside in /lib, the .so symlink continues to live /usr/lib
Stage 3 of dynamic root support. Make all the libraries needed to run binaries in /bin and /sbin installed in /lib. Only the versioned files reside in /lib, the .so symlink continues to live /usr/lib so the toolchain doesn't need to be modified.
show more ...
|
#
262e4c00 |
| 23-Jul-2003 |
Bruce Evans <bde@FreeBSD.org> |
Fixed some style bugs (misplacement and misformatting of some commented-out code).
|
#
3819e840 |
| 23-Jul-2003 |
Peter Wemm <peter@FreeBSD.org> |
Only provide one copy of the math functions. If we provide a MD function, do not also provide a __generic_XXX version as well. This is how we used to runtime select the generic vs i387 versions on
Only provide one copy of the math functions. If we provide a MD function, do not also provide a __generic_XXX version as well. This is how we used to runtime select the generic vs i387 versions on the i386 platform.
This saves a pile of #defines in the src/math_private.h file to undo the __generic_XXX renames in some of the *.c files.
show more ...
|
#
d48084b9 |
| 23-Jul-2003 |
Peter Wemm <peter@FreeBSD.org> |
No longer need the internal __get_hw_float() function.
|
#
c3e6df78 |
| 23-Jul-2003 |
Peter Wemm <peter@FreeBSD.org> |
Now that we do not need to do runtime detection for the broken default fp emulator, stop doing the runtime selection of hardware or emulated floating point operations on i386. Note that I have not s
Now that we do not need to do runtime detection for the broken default fp emulator, stop doing the runtime selection of hardware or emulated floating point operations on i386. Note that I have not suppressed the duplicate compiles yet.
While here, fix the alpha. It has provided specific copysign/copysignf functions since the beginning of time, but they have never been used.
show more ...
|
Revision tags: release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs |
|
#
c7b111cb |
| 12-May-2002 |
Ruslan Ermilov <ru@FreeBSD.org> |
Added new bsd.incs.mk which handles installing of header files via INCS. Implemented INCSLINKS (equivalent to SYMLINKS) to handle symlinking include files. Allow for multiple groups of include file
Added new bsd.incs.mk which handles installing of header files via INCS. Implemented INCSLINKS (equivalent to SYMLINKS) to handle symlinking include files. Allow for multiple groups of include files to be installed, with the powerful INCSGROUPS knob. Documentation to follow.
Added standard `includes' and `incsinstall' targets, use them in Makefile.inc1. Headers from the following makefiles were not installed before (during `includes' in Makefile.inc1):
kerberos5/lib/libtelnet/Makefile lib/libbz2/Makefile lib/libdevinfo/Makefile lib/libform/Makefile lib/libisc/Makefile lib/libmenu/Makefile lib/libmilter/Makefile lib/libpanel/Makefile
Replaced all `beforeinstall' targets for installing includes with the INCS stuff.
Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS, and for compatibility with NetBSD. Similarly for INCOWN, INCGRP, and INCMODE.
Consistently use INCLUDEDIR instead of /usr/include.
gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes were only lightly tested due to the missing contrib/libstdc++-v3. I fully tested the pre-WIP_GCC31 version of this patch with the contrib/libstdc++.295 stuff.
These changes have been tested on i386 with the -DNO_WERROR "make world" and "make release".
show more ...
|
#
46d7c297 |
| 26-Mar-2002 |
Bruce Evans <bde@FreeBSD.org> |
Resurrect Lite1's gamma() as C99's tgamma(). Minimal changes.
|
#
118ce04e |
| 01-Mar-2002 |
David E. O'Brien <obrien@FreeBSD.org> |
We need an frexp() function.
|
Revision tags: release/4.5.0_cvs, release/4.4.0_cvs |
|
#
4b667ee0 |
| 13-Dec-2001 |
Alexey Zelkin <phantom@FreeBSD.org> |
* remove reference to m68k-dependent sources * fix comment
|
#
6a8ba2f9 |
| 03-Oct-2001 |
Bruce Evans <bde@FreeBSD.org> |
Don't install manpage links for the nonexistent functions exp2(), exp2f(), log2() and log2f().
|
Revision tags: release/4.3.0_cvs, release/4.3.0 |
|
#
4a558355 |
| 27-Mar-2001 |
Ruslan Ermilov <ru@FreeBSD.org> |
MAN[1-9] -> MAN.
|