History log of /seL4-camkes-master/projects/musllibc/arch/i386/bits/float.h
Revision Date Author Comments
# 27245523 04-Aug-2017 Adrian Danis <Adrian.Danis@data61.csiro.au>

Fix up i386_sel4 arch after merge


# 559de8f5 07-Mar-2015 Szabolcs Nagy <nsz@port70.net>

fix FLT_ROUNDS to reflect the current rounding mode

Implemented as a wrapper around fegetround introducing a new function
to the ABI: __flt_rounds. (fegetround cannot be used directly from float.h)


# 048a4e72 26-Aug-2014 Adrian Danis <Adrian.Danis@nicta.com.au>

Port muslc to seL4 build system and environment. Defines custom 'seL4' architectures for ARM and i386


# 22730d65 17-May-2013 Rich Felker <dalias@aerifal.cx>

add FLT_TRUE_MIN, etc. macros from C11

there was some question as to how many decimal places to use, since
one decimal place is always sufficient to identify the smallest
denormal uniquely. for now, I'm following the example in the C
standard which is consistent with the other min/max macros we already
had in place.


# a1b44233 26-Apr-2012 Rich Felker <dalias@aerifal.cx>

support FLT_EVAL_METHOD changing on x86 with gcc -msse2 -mfpmath=sse

if the compiler provides a value, use it; otherwise fallback to the
platform default (2).


# 47db8903 20-Mar-2012 Rich Felker <dalias@aerifal.cx>

fix DECIMAL_DIG definitions

DECIMAL_DIG is not the same as LDBL_DIG

type_DIG is the maximimum number of decimal digits that can survive a
round trip from decimal to type and back to decimal.

DECIMAL_DIG is the minimum number of decimal digits required in order
for any floating point type to survive the round trip to decimal and
back, and it is generally larger than LDBL_DIG. since the exact
formula is non-trivial, and defining it larger than necessary may be
legal but wasteful, just define the right value in bits/float.h.


# 196d6437 10-Apr-2011 Rich Felker <dalias@aerifal.cx>

add missing float.h macros

actually FLT_ROUNDS needs to expand to a static inline function that
obtains the current rounding mode and returns it, but that will be
added later with fenv.h stuff.


# 1355fdca 14-Feb-2011 Rich Felker <dalias@aerifal.cx>

preparing build system to handle ports - step 1