Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <fenv.h>

FE_INVALID

Interface status: externallyDefinedApi

FE_INVALID 0x0001

Description

Exception flags

[Top]


FE_DIVBYZERO

Interface status: externallyDefinedApi

FE_DIVBYZERO 0x0002

Description

Exception flags

[Top]


FE_OVERFLOW

Interface status: externallyDefinedApi

FE_OVERFLOW 0x0004

Description

Exception flags

[Top]


FE_UNDERFLOW

Interface status: externallyDefinedApi

FE_UNDERFLOW 0x0008

Description

Exception flags

[Top]


FE_INEXACT

Interface status: externallyDefinedApi

FE_INEXACT 0x0010

Description

Exception flags

[Top]


FE_ALL_EXCEPT

Interface status: externallyDefinedApi

FE_ALL_EXCEPT (FE_DIVBYZERO | FE_INEXACT | \
             FE_INVALID | FE_OVERFLOW | FE_UNDERFLOW)

Description

Exception flags

[Top]


FE_TONEAREST

Interface status: externallyDefinedApi

FE_TONEAREST 0x0000

Description

Rounding modes

[Top]


FE_TOWARDZERO

Interface status: externallyDefinedApi

FE_TOWARDZERO 0x0001

Description

Rounding modes

[Top]


FE_UPWARD

Interface status: externallyDefinedApi

FE_UPWARD 0x0002

Description

Rounding modes

[Top]


FE_DOWNWARD

Interface status: externallyDefinedApi

FE_DOWNWARD 0x0003

Description

Rounding modes

[Top]


FE_DFL_ENV

Interface status: externallyDefinedApi

FE_DFL_ENV (&__fe_dfl_env)

Description

Default floating-point environment

[Top]


_FPUSW_SHIFT

Interface status: externallyDefinedApi

_FPUSW_SHIFT 16

Description

We need to be able to map status flag positions to mask flag positions

[Top]


Typedef fenv_t

Interface status: externallyDefinedApi

typedef __uint32_t fenv_t;

Description

Represents the entire floating-point environment. The floating-point environment refers collectively to any floating-point status flags and control modes supported by the implementation.

[Top]


Typedef fexcept_t

Interface status: externallyDefinedApi

typedef __uint32_t fexcept_t;

Description

Represents the floating-point status flags collectively, including any status the implementation associates with the flags. A floating-point status flag is a system variable whose value is set (but never cleared) when a floating-point exception is raised, which occurs as a side effect of exceptional floating-point arithmetic to provide auxiliary information. A floating-point control mode is a system variable whose value may be set by the user to affect the subsequent behavior of floating-point arithmetic.

[Top]


feclearexcept(int)

Interface status: externallyDefinedApi

static inline int feclearexcept(int __excepts);

Description

clear floating-point exception

Parameters

int __excepts

Return value

int

[Top]


fegetexceptflag(fexcept_t *,int)

Interface status: externallyDefinedApi

static inline int fegetexceptflag(fexcept_t *__flagp, int __excepts);

Description

get floating-point status flags

Parameters

fexcept_tfexcept_t *__flagp

int __excepts

Return value

int

[Top]


fesetexceptflag(const fexcept_t *,int)

Interface status: externallyDefinedApi

static inline int fesetexceptflag(const fexcept_t *__flagp, int __excepts);

Description

set floating-point status flags

Parameters

const fexcept_tfexcept_t *__flagp

int __excepts

Return value

int

[Top]


feraiseexcept(int)

Interface status: externallyDefinedApi

static inline int feraiseexcept(int __excepts);

Description

raise floating-point exception

Parameters

int __excepts

Return value

int

[Top]


fetestexcept(int)

Interface status: externallyDefinedApi

static inline int fetestexcept(int __excepts);

Description

test floating-point exception flags

Parameters

int __excepts

Return value

int

[Top]


fegetround(void)

Interface status: externallyDefinedApi

static inline int fegetround(void);

Description

get current rounding direction

Return value

int

[Top]


fesetround(int)

Interface status: externallyDefinedApi

static inline int fesetround(int __round);

Description

set current rounding direction

Parameters

int __round

Return value

int

[Top]


fegetenv(fenv_t *)

Interface status: externallyDefinedApi

static inline int fegetenv(fenv_t *__envp);

Description

get current floating-point environment

Parameters

fenv_tfenv_t *__envp

Return value

int

[Top]


feholdexcept(fenv_t *)

Interface status: externallyDefinedApi

static inline int feholdexcept(fenv_t *__envp);

Description

save current floating-point environment

Parameters

fenv_tfenv_t *__envp

Return value

int

[Top]


fesetenv(const fenv_t *)

Interface status: externallyDefinedApi

static inline int fesetenv(const fenv_t *__envp);

Description

set current floating-point environment

Parameters

const fenv_tfenv_t *__envp

Return value

int

[Top]


feupdateenv(const fenv_t *)

Interface status: externallyDefinedApi

static inline int feupdateenv(const fenv_t *__envp);

Description

update floating-point environment

Parameters

const fenv_tfenv_t *__envp

Return value

int

[Top]


feenableexcept(int)

Interface status: externallyDefinedApi

static inline int feenableexcept(int __mask);

Description

enable floating-point exception

Parameters

int __mask

Return value

int

[Top]


fedisableexcept(int)

Interface status: externallyDefinedApi

static inline int fedisableexcept(int __mask);

Description

disable floating-point exception

Parameters

int __mask

Return value

int

[Top]


fegetexcept(void)

Interface status: externallyDefinedApi

static inline int fegetexcept(void);

Description

get floating-point status flags

Return value

int


fenv.h Global variables