Linux Kernel
3.7.1
|
#include <asm/byteorder.h>
#include <linux/types.h>
#include <linux/sched.h>
#include <stdarg.h>
Go to the source code of this file.
Data Structures | |
struct | _ieee754_csr |
struct | ieee754xctx |
Functions | |
int | ieee754sp_finite (ieee754sp x) |
int | ieee754sp_class (ieee754sp x) |
ieee754sp | ieee754sp_abs (ieee754sp x) |
ieee754sp | ieee754sp_neg (ieee754sp x) |
ieee754sp | ieee754sp_scalb (ieee754sp x, int) |
ieee754sp | ieee754sp_logb (ieee754sp x) |
ieee754sp | ieee754sp_copysign (ieee754sp x, ieee754sp y) |
ieee754sp | ieee754sp_add (ieee754sp x, ieee754sp y) |
ieee754sp | ieee754sp_sub (ieee754sp x, ieee754sp y) |
ieee754sp | ieee754sp_mul (ieee754sp x, ieee754sp y) |
ieee754sp | ieee754sp_div (ieee754sp x, ieee754sp y) |
ieee754sp | ieee754sp_fint (int x) |
ieee754sp | ieee754sp_funs (unsigned x) |
ieee754sp | ieee754sp_flong (s64 x) |
ieee754sp | ieee754sp_fulong (u64 x) |
ieee754sp | ieee754sp_fdp (ieee754dp x) |
int | ieee754sp_tint (ieee754sp x) |
unsigned int | ieee754sp_tuns (ieee754sp x) |
s64 | ieee754sp_tlong (ieee754sp x) |
u64 | ieee754sp_tulong (ieee754sp x) |
int | ieee754sp_cmp (ieee754sp x, ieee754sp y, int cop, int sig) |
ieee754sp | ieee754sp_modf (ieee754sp x, ieee754sp *ip) |
ieee754sp | ieee754sp_frexp (ieee754sp x, int *exp) |
ieee754sp | ieee754sp_ldexp (ieee754sp x, int exp) |
ieee754sp | ieee754sp_ceil (ieee754sp x) |
ieee754sp | ieee754sp_floor (ieee754sp x) |
ieee754sp | ieee754sp_trunc (ieee754sp x) |
ieee754sp | ieee754sp_sqrt (ieee754sp x) |
int | ieee754dp_finite (ieee754dp x) |
int | ieee754dp_class (ieee754dp x) |
ieee754dp | ieee754dp_copysign (ieee754dp x, ieee754dp y) |
ieee754dp | ieee754dp_add (ieee754dp x, ieee754dp y) |
ieee754dp | ieee754dp_sub (ieee754dp x, ieee754dp y) |
ieee754dp | ieee754dp_mul (ieee754dp x, ieee754dp y) |
ieee754dp | ieee754dp_div (ieee754dp x, ieee754dp y) |
ieee754dp | ieee754dp_abs (ieee754dp x) |
ieee754dp | ieee754dp_neg (ieee754dp x) |
ieee754dp | ieee754dp_scalb (ieee754dp x, int) |
ieee754dp | ieee754dp_logb (ieee754dp x) |
ieee754dp | ieee754dp_fint (int x) |
ieee754dp | ieee754dp_funs (unsigned x) |
ieee754dp | ieee754dp_flong (s64 x) |
ieee754dp | ieee754dp_fulong (u64 x) |
ieee754dp | ieee754dp_fsp (ieee754sp x) |
ieee754dp | ieee754dp_ceil (ieee754dp x) |
ieee754dp | ieee754dp_floor (ieee754dp x) |
ieee754dp | ieee754dp_trunc (ieee754dp x) |
int | ieee754dp_tint (ieee754dp x) |
unsigned int | ieee754dp_tuns (ieee754dp x) |
s64 | ieee754dp_tlong (ieee754dp x) |
u64 | ieee754dp_tulong (ieee754dp x) |
int | ieee754dp_cmp (ieee754dp x, ieee754dp y, int cop, int sig) |
ieee754dp | ieee754dp_modf (ieee754dp x, ieee754dp *ip) |
ieee754dp | ieee754dp_frexp (ieee754dp x, int *exp) |
ieee754dp | ieee754dp_ldexp (ieee754dp x, int exp) |
ieee754dp | ieee754dp_sqrt (ieee754dp x) |
ieee754dp | ieee754dp_fstr (const char *s, char **endp) |
char * | ieee754dp_tstr (ieee754dp x, int prec, int fmt, int af) |
ieee754sp | ieee754sp_dump (char *s, ieee754sp x) |
ieee754dp | ieee754dp_dump (char *s, ieee754dp x) |
void | ieee754_xcpt (struct ieee754xctx *xcp) |
Variables | |
struct ieee754dp_konst | __ieee754dp_spcvals [] |
struct ieee754sp_konst | __ieee754sp_spcvals [] |
#define ieee754_csr (*(struct _ieee754_csr *)(¤t->thread.fpu.fcr31)) |
#define IEEE754_RM IEEE754_RD |
#define IEEE754_RP IEEE754_RU |
#define ieee754dp_1e31 | ( | ) | (ieee754dp_spcvals[IEEE754_SPCVAL_P1E31]) |
#define ieee754dp_1e63 | ( | ) | (ieee754dp_spcvals[IEEE754_SPCVAL_P1E63]) |
#define ieee754dp_fix | ( | x | ) | ieee754dp_tint(x) |
#define ieee754dp_indef | ( | ) | (ieee754dp_spcvals[IEEE754_SPCVAL_INDEF]) |
#define ieee754dp_inf | ( | sn | ) | (ieee754dp_spcvals[IEEE754_SPCVAL_PINFINITY+(sn)]) |
#define ieee754dp_max | ( | sn | ) | (ieee754dp_spcvals[IEEE754_SPCVAL_PMAX+(sn)]) |
#define ieee754dp_min | ( | sn | ) | (ieee754dp_spcvals[IEEE754_SPCVAL_PMIN+(sn)]) |
#define ieee754dp_mind | ( | sn | ) | (ieee754dp_spcvals[IEEE754_SPCVAL_PMIND+(sn)]) |
#define ieee754dp_one | ( | sn | ) | (ieee754dp_spcvals[IEEE754_SPCVAL_PONE+(sn)]) |
#define ieee754dp_spcvals ((const ieee754dp *)__ieee754dp_spcvals) |
#define ieee754dp_ten | ( | sn | ) | (ieee754dp_spcvals[IEEE754_SPCVAL_PTEN+(sn)]) |
#define ieee754dp_zero | ( | sn | ) | (ieee754dp_spcvals[IEEE754_SPCVAL_PZERO+(sn)]) |
#define ieee754sp_1e31 | ( | ) | (ieee754sp_spcvals[IEEE754_SPCVAL_P1E31]) |
#define ieee754sp_1e63 | ( | ) | (ieee754sp_spcvals[IEEE754_SPCVAL_P1E63]) |
#define ieee754sp_fix | ( | x | ) | ieee754sp_tint(x) |
#define ieee754sp_indef | ( | ) | (ieee754sp_spcvals[IEEE754_SPCVAL_INDEF]) |
#define ieee754sp_inf | ( | sn | ) | (ieee754sp_spcvals[IEEE754_SPCVAL_PINFINITY+(sn)]) |
#define ieee754sp_max | ( | sn | ) | (ieee754sp_spcvals[IEEE754_SPCVAL_PMAX+(sn)]) |
#define ieee754sp_min | ( | sn | ) | (ieee754sp_spcvals[IEEE754_SPCVAL_PMIN+(sn)]) |
#define ieee754sp_mind | ( | sn | ) | (ieee754sp_spcvals[IEEE754_SPCVAL_PMIND+(sn)]) |
#define ieee754sp_one | ( | sn | ) | (ieee754sp_spcvals[IEEE754_SPCVAL_PONE+(sn)]) |
#define ieee754sp_spcvals ((const ieee754sp *)__ieee754sp_spcvals) |
#define ieee754sp_ten | ( | sn | ) | (ieee754sp_spcvals[IEEE754_SPCVAL_PTEN+(sn)]) |
#define ieee754sp_zero | ( | sn | ) | (ieee754sp_spcvals[IEEE754_SPCVAL_PZERO+(sn)]) |
void ieee754_xcpt | ( | struct ieee754xctx * | xcp | ) |
Definition at line 43 of file ieee754xcpt.c.
ieee754dp ieee754dp_abs | ( | ieee754dp | x | ) |
Definition at line 68 of file dp_simple.c.
ieee754dp ieee754dp_ceil | ( | ieee754dp | x | ) |
Definition at line 39 of file ieee754m.c.
int ieee754dp_class | ( | ieee754dp | x | ) |
Definition at line 29 of file ieee754dp.c.
ieee754dp ieee754dp_copysign | ( | ieee754dp | x, |
ieee754dp | y | ||
) |
Definition at line 34 of file dp_simple.c.
ieee754dp ieee754dp_dump | ( | char * | s, |
ieee754dp | x | ||
) |
Definition at line 59 of file ieee754d.c.
int ieee754dp_finite | ( | ieee754dp | x | ) |
Definition at line 29 of file dp_simple.c.
ieee754dp ieee754dp_flong | ( | s64 | x | ) |
Definition at line 29 of file dp_flong.c.
ieee754dp ieee754dp_floor | ( | ieee754dp | x | ) |
Definition at line 29 of file ieee754m.c.
ieee754dp ieee754dp_frexp | ( | ieee754dp | x, |
int * | exp | ||
) |
Definition at line 31 of file dp_frexp.c.
ieee754dp ieee754dp_fulong | ( | u64 | x | ) |
Definition at line 71 of file dp_flong.c.
ieee754dp ieee754dp_funs | ( | unsigned | x | ) |
ieee754dp ieee754dp_ldexp | ( | ieee754dp | x, |
int | exp | ||
) |
Definition at line 54 of file dp_scalb.c.
ieee754dp ieee754dp_neg | ( | ieee754dp | x | ) |
Definition at line 42 of file dp_simple.c.
ieee754dp ieee754dp_scalb | ( | ieee754dp | x, |
int | |||
) |
Definition at line 29 of file dp_scalb.c.
s64 ieee754dp_tlong | ( | ieee754dp | x | ) |
Definition at line 29 of file dp_tlong.c.
ieee754dp ieee754dp_trunc | ( | ieee754dp | x | ) |
Definition at line 49 of file ieee754m.c.
u64 ieee754dp_tulong | ( | ieee754dp | x | ) |
Definition at line 115 of file dp_tlong.c.
ieee754sp ieee754sp_abs | ( | ieee754sp | x | ) |
Definition at line 68 of file sp_simple.c.
ieee754sp ieee754sp_ceil | ( | ieee754sp | x | ) |
int ieee754sp_class | ( | ieee754sp | x | ) |
Definition at line 29 of file ieee754sp.c.
ieee754sp ieee754sp_copysign | ( | ieee754sp | x, |
ieee754sp | y | ||
) |
Definition at line 34 of file sp_simple.c.
ieee754sp ieee754sp_dump | ( | char * | s, |
ieee754sp | x | ||
) |
Definition at line 99 of file ieee754d.c.
int ieee754sp_finite | ( | ieee754sp | x | ) |
Definition at line 29 of file sp_simple.c.
ieee754sp ieee754sp_flong | ( | s64 | x | ) |
Definition at line 29 of file sp_flong.c.
ieee754sp ieee754sp_floor | ( | ieee754sp | x | ) |
ieee754sp ieee754sp_frexp | ( | ieee754sp | x, |
int * | exp | ||
) |
Definition at line 31 of file sp_frexp.c.
ieee754sp ieee754sp_fulong | ( | u64 | x | ) |
Definition at line 72 of file sp_flong.c.
ieee754sp ieee754sp_funs | ( | unsigned | x | ) |
ieee754sp ieee754sp_ldexp | ( | ieee754sp | x, |
int | exp | ||
) |
Definition at line 54 of file sp_scalb.c.
ieee754sp ieee754sp_neg | ( | ieee754sp | x | ) |
Definition at line 42 of file sp_simple.c.
ieee754sp ieee754sp_scalb | ( | ieee754sp | x, |
int | |||
) |
Definition at line 29 of file sp_scalb.c.
s64 ieee754sp_tlong | ( | ieee754sp | x | ) |
Definition at line 29 of file sp_tlong.c.
ieee754sp ieee754sp_trunc | ( | ieee754sp | x | ) |
u64 ieee754sp_tulong | ( | ieee754sp | x | ) |
Definition at line 111 of file sp_tlong.c.