float – glib-2.0 Reference Manual
Packages
glib-2.0
float
DIG
EPSILON
INFINITY
MANT_DIG
MAX
MAX_10_EXP
MAX_EXP
MIN
MIN_10_EXP
MIN_EXP
NAN
RADIX
ROUNDS
max
min
abs
clamp
is_finite
is_infinity
is_nan
is_normal
to_string
float
Object Hierarchy:
Description:
[
SimpleType
]
public
struct
float
Package:
glib-2.0
Content:
Constants:
public
const
int
ROUNDS
public
const
int
RADIX
public
const
int
MANT_DIG
public
const
int
DIG
public
const
int
MIN_EXP
public
const
int
MAX_EXP
public
const
int
MIN_10_EXP
public
const
int
MAX_10_EXP
public
const
float
EPSILON
public
const
float
MIN
public
const
float
MAX
public
const
float
NAN
public
const
float
INFINITY
Static methods:
public
static
float
min
(
float
a,
float
b)
public
static
float
max
(
float
a,
float
b)
Methods:
public
bool
is_nan
()
public
bool
is_finite
()
public
bool
is_normal
()
public
int
is_infinity
()
public
string
to_string
(
string
format =
"%g"
)
public
float
clamp
(
float
low,
float
high)
public
float
abs
()