summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/sh/gen/fabs.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Revert (leaving the complex math part alone). Some stuff is dependingmartynas2011-07-081-0/+40
| | | | | on this historical behavior; so we're stuck in this stupid situation. No cookie for me.
* Move fabs(3), frexp(3), and modf(3) to libm--nothing has been usingmartynas2011-07-081-40/+0
| | | | them in libc for a very long time. OK guenther@.
* this is not a write-only register. might have caused to optimizemartynas2009-04-051-2/+2
| | | | it away. ok miod@
* use sys/cdefs.h; pointed out by theomartynas2008-12-101-2/+2
|
* alias fabsl to fabs on these archsmartynas2008-12-091-1/+4
|
* clear sign bit, instead of comparing to zero and setting x=-x.martynas2008-07-231-6/+12
| | | | | | | fixes special cases, such as neg. zero, and makes C99 conformant ok miod@, millert@ since there's nothing else in arm's fabs.c, replace 4-clause license w/ the one at /usr/share/misc/license.template
* Move landisk to hardware floating point. At the moment the FPU context ismiod2007-03-021-2/+2
| | | | | | | | | | | | | | | always saved upon context switches, as FPU registers are heavily used for long long computations (don't ask). Gcc default to -m4. Credits to drahn@ otto@ and deraadt@ for feedback and help testing. Upgrade procedure if you don't want to use the damn snapshots: - build and install new kernel, reboot off it - build new gcc, do not install it yet - make includes - install new gcc - build and install lib/csu and lib/libc - make build
* Move (back) to softfloat on sh for now.drahn2006-11-061-1/+6
|
* Preliminary userland bits for OpenBSD/landisk, many things coming frommiod2006-10-101-0/+26
NetBSD.