num_opt
0.1.0
Fpt
Trait Implementations
MyFloat
In num_
opt::
my_
float
num_opt
::
my_float
Type Alias
Fpt
Copy item path
Source
pub type Fpt =
f64
;
Trait Implementations
§
Source
§
impl
MyFloat
for
Fpt
Source
§
fn
precision
() ->
u32
Source
§
fn
from_f
(f:
Fpt
) -> Self
Source
§
fn
from_f_fraction
(n:
Fpt
, d:
Fpt
) -> Self
Source
§
fn
to_f
(&self) ->
Fpt
Source
§
fn
floor
(&self) -> Self
Source
§
fn
sqrt
(&self) -> Self
Source
§
fn
clamp
(&self, min:
Fpt
, max:
Fpt
) -> Self
Source
§
fn
sin
(&self) -> Self
Source
§
fn
cos
(&self) -> Self
Source
§
fn
acos
(&self) -> Self
Source
§
fn
is_nan
(&self) ->
bool
Source
§
fn
max
(&self, other: &Self) -> Self
Source
§
fn
min
(&self, other: &Self) -> Self
Source
§
fn
abs
(&self) -> Self
Source
§
fn
one
() -> Self
Source
§
fn
zero
() -> Self
Source
§
fn
atan2
(&self, other: &Self) -> Self