float – glib-2.0 Reference Manual
Packages
glib-2.0
float
max
min
clamp
is_finite
is_infinity
is_nan
is_normal
to_string
DIG
EPSILON
INFINITY
MANT_DIG
MAX
MAX_10_EXP
MAX_EXP
MIN
MIN_10_EXP
MIN_EXP
NAN
RADIX
ROUNDS
float
Object Hierarchy:
Description:
[
SimpleType
]
public
struct
float
Package:
glib-2.0
Content:
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)
Fields:
public
static
int
ROUNDS
public
static
int
RADIX
public
static
int
MANT_DIG
public
static
int
DIG
public
static
int
MIN_EXP
public
static
int
MAX_EXP
public
static
int
MIN_10_EXP
public
static
int
MAX_10_EXP
public
static
float
EPSILON
public
static
float
MIN
public
static
float
MAX
public
static
float
NAN
public
static
float
INFINITY