summaryrefslogtreecommitdiffstats
path: root/sys/lib/libkern/softfloat.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* mop up #ifdef _KERNEL goo; ok miodderaadt2014-06-101-5/+1
|
* unbreak ieeefp emulation code wrt converting double to unsignedmartynas2008-10-071-1/+4
| | | | | | | | | | | | | | | | long ints for alpha. we've got only one instruction (cvttq) to convert double-t to quadword, and float64_to_int64 did not take into account the unsigned conversions therefore, overflow always occured, and half of the unsigned range (LONG_MAX .. ULONG_MAX) was broken introduce roundAndPackInt64NoOverflow and float64_to_int64_no_overflow for softfloat, that works with unsigned integers as well. note that this will return zero for nan/inf/oflow/uflow, raising exception flag perl is happy now looked over by miod@ tested by naddy@, and by me on nick@'s alpha
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-261-8/+1
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* Unifdef NO_IEEE in the libkern softfloat code, and put an appropriate rulemiod2007-12-291-5/+1
| | | | | | in files.alpha to compensate for NO_IEEE kernels. This will allow the softfloat code to be used by other platforms than alpha.
* IEEE 754 floating point completion code, and implementation of thepvalchev2002-04-281-0/+376
FP_C (Floating Point Control Quadword). From ross@NetBSD. Added a way to disable it with option NO_IEEE, which appears on the ramdisks to save space. This affects only programs compiled with -mieee, and what it essentially does is enabling infinities and NaNs, instead of generating SIGFPE on division by zero, overflow, etc. ok art, deraadt