F64¶
Implements¶
- FloatingPoint[F64 val] val
Constructors¶
create¶
Parameters¶
- value: F64 val = 0
Returns¶
- F64 val^
pi¶
Returns¶
- F64 val^
e¶
Returns¶
- F64 val^
from_bits¶
Parameters¶
- i: U64 val
Returns¶
- F64 val^
from[B: ((I8 val | I16 val | I32 val | I64 val | I128 val | ILong val | ISize val | U8 val | U16 val | U32 val | U64 val | U128 val | ULong val | USize val | F32 val | F64 val) & Real[B] val)]¶
new val from[B: ((I8 val | I16 val | I32 val |
I64 val | I128 val | ILong val |
ISize val | U8 val | U16 val |
U32 val | U64 val | U128 val |
ULong val | USize val | F32 val |
F64 val) & Real[B] val)](
a: B)
: F64 val^
Parameters¶
- a: B
Returns¶
- F64 val^
min_value¶
Minimum negative value representable.
Returns¶
- F64 val^
max_value¶
Maximum positive value representable.
Returns¶
- F64 val^
min_normalised¶
Minimum positive value representable at full precision (ie a normalised number).
Returns¶
- F64 val^
epsilon¶
Minimum positive value such that (1 + epsilon) != 1.
Returns¶
- F64 val^
Public Functions¶
bits¶
Returns¶
- U64 val
radix¶
Exponent radix.
Returns¶
- U8 val
precision2¶
Mantissa precision in bits.
Returns¶
- U8 val
precision10¶
Mantissa precision in decimal digits.
Returns¶
- U8 val
min_exp2¶
Minimum exponent value such that (2^exponent) - 1 is representable at full precision (ie a normalised number).
Returns¶
- I16 val
min_exp10¶
Minimum exponent value such that (10^exponent) - 1 is representable at full precision (ie a normalised number).
Returns¶
- I16 val
max_exp2¶
Maximum exponent value such that (2^exponent) - 1 is representable.
Returns¶
- I16 val
max_exp10¶
Maximum exponent value such that (10^exponent) - 1 is representable.
Returns¶
- I16 val
abs¶
Returns¶
- F64 val
ceil¶
Returns¶
- F64 val
floor¶
Returns¶
- F64 val
round¶
Returns¶
- F64 val
trunc¶
Returns¶
- F64 val
min¶
Parameters¶
- y: F64 val
Returns¶
- F64 val
max¶
Parameters¶
- y: F64 val
Returns¶
- F64 val
fld¶
Parameters¶
- y: F64 val
Returns¶
- F64 val
fld_unsafe¶
Parameters¶
- y: F64 val
Returns¶
- F64 val
mod¶
Parameters¶
- y: F64 val
Returns¶
- F64 val
mod_unsafe¶
Parameters¶
- y: F64 val
Returns¶
- F64 val
finite¶
Check whether this number is finite, ie not +/-infinity and not NaN.
Returns¶
- Bool val
infinite¶
Check whether this number is +/-infinity
Returns¶
- Bool val
nan¶
Check whether this number is NaN.
Returns¶
- Bool val
ldexp¶
Parameters¶
Returns¶
- F64 val
frexp¶
Returns¶
log¶
Returns¶
- F64 val
log2¶
Returns¶
- F64 val
log10¶
Returns¶
- F64 val
logb¶
Returns¶
- F64 val
pow¶
Parameters¶
- y: F64 val
Returns¶
- F64 val
powi¶
Parameters¶
- y: I32 val
Returns¶
- F64 val
sqrt¶
Returns¶
- F64 val
sqrt_unsafe¶
Unsafe operation. If this is negative, the result is undefined.
Returns¶
- F64 val
cbrt¶
Returns¶
- F64 val
exp¶
Returns¶
- F64 val
exp2¶
Returns¶
- F64 val
cos¶
Returns¶
- F64 val
sin¶
Returns¶
- F64 val
tan¶
Returns¶
- F64 val
cosh¶
Returns¶
- F64 val
sinh¶
Returns¶
- F64 val
tanh¶
Returns¶
- F64 val
acos¶
Returns¶
- F64 val
asin¶
Returns¶
- F64 val
atan¶
Returns¶
- F64 val
atan2¶
Parameters¶
- y: F64 val
Returns¶
- F64 val
acosh¶
Returns¶
- F64 val
asinh¶
Returns¶
- F64 val
atanh¶
Returns¶
- F64 val
copysign¶
Parameters¶
- sign: F64 val
Returns¶
- F64 val
hash¶
Returns¶
- USize val
hash64¶
Returns¶
- U64 val
i128¶
Returns¶
- I128 val
u128¶
Returns¶
- U128 val
i128_unsafe¶
Unsafe operation. If the value doesn't fit in the destination type, the result is undefined.
Returns¶
- I128 val
u128_unsafe¶
Unsafe operation. If the value doesn't fit in the destination type, the result is undefined.
Returns¶
- U128 val
add_unsafe¶
Parameters¶
- y: F64 val
Returns¶
- F64 val
sub_unsafe¶
Parameters¶
- y: F64 val
Returns¶
- F64 val
mul_unsafe¶
Parameters¶
- y: F64 val
Returns¶
- F64 val
div_unsafe¶
Parameters¶
- y: F64 val
Returns¶
- F64 val
divrem_unsafe¶
Parameters¶
- y: F64 val
Returns¶
rem_unsafe¶
Parameters¶
- y: F64 val
Returns¶
- F64 val
neg_unsafe¶
Returns¶
- F64 val
eq_unsafe¶
Parameters¶
- y: F64 val
Returns¶
- Bool val
ne_unsafe¶
Parameters¶
- y: F64 val
Returns¶
- Bool val
lt_unsafe¶
Parameters¶
- y: F64 val
Returns¶
- Bool val
le_unsafe¶
Parameters¶
- y: F64 val
Returns¶
- Bool val
ge_unsafe¶
Parameters¶
- y: F64 val
Returns¶
- Bool val
gt_unsafe¶
Parameters¶
- y: F64 val
Returns¶
- Bool val
string¶
Returns¶
- String iso^
add¶
Parameters¶
- y: F64 val
Returns¶
- F64 val
sub¶
Parameters¶
- y: F64 val
Returns¶
- F64 val
mul¶
Parameters¶
- y: F64 val
Returns¶
- F64 val
div¶
Parameters¶
- y: F64 val
Returns¶
- F64 val
divrem¶
Parameters¶
- y: F64 val
Returns¶
rem¶
Parameters¶
- y: F64 val
Returns¶
- F64 val
neg¶
Returns¶
- F64 val
eq¶
Parameters¶
- y: F64 val
Returns¶
- Bool val
ne¶
Parameters¶
- y: F64 val
Returns¶
- Bool val
lt¶
Parameters¶
- y: F64 val
Returns¶
- Bool val
le¶
Parameters¶
- y: F64 val
Returns¶
- Bool val
ge¶
Parameters¶
- y: F64 val
Returns¶
- Bool val
gt¶
Parameters¶
- y: F64 val
Returns¶
- Bool val
i8¶
Returns¶
- I8 val
i16¶
Returns¶
- I16 val
i32¶
Returns¶
- I32 val
i64¶
Returns¶
- I64 val
ilong¶
Returns¶
- ILong val
isize¶
Returns¶
- ISize val
u8¶
Returns¶
- U8 val
u16¶
Returns¶
- U16 val
u32¶
Returns¶
- U32 val
u64¶
Returns¶
- U64 val
ulong¶
Returns¶
- ULong val
usize¶
Returns¶
- USize val
f32¶
Returns¶
- F32 val
f64¶
Returns¶
- F64 val
i8_unsafe¶
Returns¶
- I8 val
i16_unsafe¶
Returns¶
- I16 val
i32_unsafe¶
Returns¶
- I32 val
i64_unsafe¶
Returns¶
- I64 val
ilong_unsafe¶
Returns¶
- ILong val
isize_unsafe¶
Returns¶
- ISize val
u8_unsafe¶
Returns¶
- U8 val
u16_unsafe¶
Returns¶
- U16 val
u32_unsafe¶
Returns¶
- U32 val
u64_unsafe¶
Returns¶
- U64 val
ulong_unsafe¶
Returns¶
- ULong val
usize_unsafe¶
Returns¶
- USize val
f32_unsafe¶
Returns¶
- F32 val
f64_unsafe¶
Returns¶
- F64 val
compare¶
Parameters¶
- that: F64 val