Skip to content

Float64

graph BT
N1["Float64"] -->|inherits| N2["RealNumber"];
N2["RealNumber"] -->|inherits| N3["Number"];
N3["Number"] -->|inherits| N4["Stringable"];
N4["Stringable"] -->|inherits| N5["Any"];

Characteristics

Quality Value
Inherits RealNumber
Extends N/A
Decorators #extern;
Is enum false
Is sealed false
Is extern true
Is abstract false
Is generator false
Has value semantics true
Has stored properties false
Should register destructor false
Has atomic memory true
Is copy assignable true
Is zero initializable true

Const Expressions

size

const! size = 64

Functions

min

#Gambol.function.alwaysinline
#default
min () -> Float64

denorm_min

#Gambol.function.alwaysinline
#default
denorm_min () -> Float64

max

#Gambol.function.alwaysinline
#default
max () -> Float64

Methods

construct

#default
#Gambol.function.alwaysinline
construct (s @Self) -> Self

sign

#Gambol.function.alwaysinline
sign (s @Self) -> Float64

abs

#Gambol.function.alwaysinline
abs (s @Self) -> Float64

is_nan

#Gambol.function.alwaysinline
is_nan (s @Self) -> Bool

is_inf

#Gambol.function.alwaysinline
is_inf (s @Self) -> Bool

trem

#Gambol.function.alwaysinline
#default
trem (s @Self, o @Self) -> Float64

frem

#Gambol.function.alwaysinline
frem (s @Self, o @Self) -> Float64

erem

#Gambol.function.alwaysinline
erem (s @Self, o @Self) -> Float64

str

#Gambol.function.alwaysinline
str (s @Self, decimal_digits: UInt64 = 0, rounding: Int8 = RoundingMode.kNearest, scientific: Bool = false, upper: Bool = false) -> String

sqrt

#Gambol.function.alwaysinline
#default
sqrt (s @Self) -> Float64

sin

#Gambol.function.alwaysinline
#default
sin (s @Self) -> Float64

cos

#Gambol.function.alwaysinline
#default
cos (s @Self) -> Float64

pow

#Gambol.function.alwaysinline
#default
pow (s @Self, exp @Self) -> Float64

exp

#Gambol.function.alwaysinline
#default
exp (s @Self) -> Float64

exp2

#Gambol.function.alwaysinline
#default
exp2 (s @Self) -> Float64

exp10

#Gambol.function.alwaysinline
#default
exp10 (s @Self) -> Float64

log

#Gambol.function.alwaysinline
#default
log (s @Self) -> Float64

log2

#Gambol.function.alwaysinline
#default
log2 (s @Self) -> Float64

log10

#Gambol.function.alwaysinline
#default
log10 (s @Self) -> Float64

fma

#Gambol.function.alwaysinline
#default
fma (s @Self, other_mul @Self, other_add @Self) -> Float64

minnum

#Gambol.function.alwaysinline
#default
minnum (s @Self, o @Self) -> Float64

maxnum

#Gambol.function.alwaysinline
#default
maxnum (s @Self, o @Self) -> Float64

minimum

#Gambol.function.alwaysinline
#default
minimum (s @Self, o @Self) -> Float64

maximum

#Gambol.function.alwaysinline
#default
maximum (s @Self, o @Self) -> Float64

copysign

#Gambol.function.alwaysinline
#default
copysign (s @Self, o @Self) -> Float64

floor

#Gambol.function.alwaysinline
#default
floor (s @Self) -> Float64

ceil

#Gambol.function.alwaysinline
#default
ceil (s @Self) -> Float64

trunc

#Gambol.function.alwaysinline
#default
trunc (s @Self) -> Float64

round

#Gambol.function.alwaysinline
#default
round (s @Self) -> Float64

roundeven

#Gambol.function.alwaysinline
#default
roundeven (s @Self) -> Float64

Unary Operators

-

#Gambol.function.alwaysinline
#default
- (s @Self) -> Float64

Binary Operators

=

#default
= (s @Self, o @Self) -> Self

==

#Gambol.function.alwaysinline
#default
== (s @Self, o @Self) -> Bool

<

#Gambol.function.alwaysinline
#default
< (s @Self, o @Self) -> Bool

<=

#Gambol.function.alwaysinline
#default
<= (s @Self, o @Self) -> Bool

>

#Gambol.function.alwaysinline
#default
> (s @Self, o @Self) -> Bool

>=

#Gambol.function.alwaysinline
#default
>= (s @Self, o @Self) -> Bool

+

#Gambol.function.alwaysinline
#default
+ (s @Self, o @Self) -> Float64

+=

#Gambol.function.alwaysinline
#default
+= (s @Self, o @Self) -> Self

-

#Gambol.function.alwaysinline
#default
- (s @Self, o @Self) -> Float64

-=

#Gambol.function.alwaysinline
#default
-= (s @Self, o @Self) -> Self

*

#Gambol.function.alwaysinline
#default
* (s @Self, o @Self) -> Float64

*=

#Gambol.function.alwaysinline
#default
*= (s @Self, o @Self) -> Self

/

#Gambol.function.alwaysinline
#default
/ (s @Self, o @Self) -> Float64

/=

#Gambol.function.alwaysinline
#default
/= (s @Self, o @Self) -> Self

%

#Gambol.function.alwaysinline
% (s @Self, o @Self) -> Float64

%=

#Gambol.function.alwaysinline
%= (s @Self, o @Self) -> Self

**

#Gambol.function.alwaysinline
** (s @Self, o @Self) -> Float64

**=

#Gambol.function.alwaysinline
**= (s @Self, o @Self) -> Self

Casts To

  • Int8
  • UInt8
  • Int16
  • UInt16
  • Int32
  • UInt32
  • Int64
  • UInt64
  • Int128
  • UInt128
  • Int256
  • UInt256
  • Int512
  • UInt512
  • Float32
  • NInt
  • UNInt
  • Bool
  • NFloat
  • Float
  • Int