PandA-2024.02
Functions | Variables
softfloat.c File Reference
#include "milieu.h"
#include "softfloat.h"
#include "softfloat-macros"
#include "softfloat-specialize"
Include dependency graph for softfloat.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

INLINE bits64 extractFloat64Frac (float64 a)
 
INLINE int16 extractFloat64Exp (float64 a)
 
INLINE flag extractFloat64Sign (float64 a)
 
static void normalizeFloat64Subnormal (bits64 aSig, int16 *zExpPtr, bits64 *zSigPtr)
 
INLINE float64 packFloat64 (flag zSign, int16 zExp, bits64 zSig)
 
static float64 roundAndPackFloat64 (flag zSign, int16 zExp, bits64 zSig)
 
float64 __attribute__ ((noinline))
 

Variables

int8 float_rounding_mode = float_round_nearest_even
 
int8 float_exception_flags = 0
 

Function Documentation

◆ __attribute__()

float64 __attribute__ ( (noinline)  )

◆ extractFloat64Exp()

INLINE int16 extractFloat64Exp ( float64  a)

Definition at line 94 of file softfloat.c.

References INLINE.

◆ extractFloat64Frac()

INLINE bits64 extractFloat64Frac ( float64  a)

Definition at line 82 of file softfloat.c.

References INLINE, and LIT64.

◆ extractFloat64Sign()

INLINE flag extractFloat64Sign ( float64  a)

Definition at line 106 of file softfloat.c.

◆ normalizeFloat64Subnormal()

static void normalizeFloat64Subnormal ( bits64  aSig,
int16 zExpPtr,
bits64 zSigPtr 
)
static

Definition at line 121 of file softfloat.c.

References INLINE.

Referenced by __attribute__().

Here is the caller graph for this function:

◆ packFloat64()

INLINE float64 packFloat64 ( flag  zSign,
int16  zExp,
bits64  zSig 
)

Definition at line 143 of file softfloat.c.

◆ roundAndPackFloat64()

static float64 roundAndPackFloat64 ( flag  zSign,
int16  zExp,
bits64  zSig 
)
static

Definition at line 173 of file softfloat.c.

References float_exception_flags, float_flag_inexact, float_flag_overflow, float_flag_underflow, float_round_down, float_round_nearest_even, float_round_to_zero, float_round_up, float_rounding_mode, float_tininess_before_rounding, LIT64, and packFloat64().

Referenced by __attribute__().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ float_exception_flags

int8 float_exception_flags = 0

Definition at line 58 of file softfloat.c.

◆ float_rounding_mode

int8 float_rounding_mode = float_round_nearest_even

Definition at line 57 of file softfloat.c.


Generated on Mon Feb 12 2024 13:03:02 for PandA-2024.02 by doxygen 1.8.13