Index
Modules:
fixedpoint
,
fixedpoint/arithmetic
,
fixedpoint/base
,
fixedpoint/comparison
,
fixedpoint/trig
,
fixedpoint/util
.
API symbols
`$`:
base: proc `$`(d: FixedPoint): string
`*=`:
arithmetic: proc `*=`(a`gensym9: var FixedPoint; b`gensym9: typeof(a`gensym9))
`*`:
arithmetic: proc `*`(a, b: FixedPoint): typeof(a)
arithmetic: proc `*`(a`gensym4: FixedPoint; b`gensym4: SomeNumber): typeof(a`gensym4)
arithmetic: proc `*`(a`gensym4: SomeNumber; b`gensym4: FixedPoint): typeof(b`gensym4)
`+=`:
arithmetic: proc `+=`(a`gensym7: var FixedPoint; b`gensym7: typeof(a`gensym7))
`+`:
arithmetic: proc `+`(a`gensym0, b`gensym0: FixedPoint): typeof(a`gensym0)
arithmetic: proc `+`(a`gensym1: FixedPoint; b`gensym1: SomeNumber): typeof(a`gensym1)
arithmetic: proc `+`(a`gensym1: SomeNumber; b`gensym1: FixedPoint): typeof(b`gensym1)
`-=`:
arithmetic: proc `-=`(a`gensym8: var FixedPoint; b`gensym8: typeof(a`gensym8))
`-`:
arithmetic: proc `-`(value`gensym11: FixedPoint): typeof(value`gensym11)
arithmetic: proc `-`(a`gensym2, b`gensym2: FixedPoint): typeof(a`gensym2)
arithmetic: proc `-`(a`gensym3: FixedPoint; b`gensym3: SomeNumber): typeof(a`gensym3)
arithmetic: proc `-`(a`gensym3: SomeNumber; b`gensym3: FixedPoint): typeof(b`gensym3)
`/=`:
arithmetic: proc `/=`(a`gensym10: var FixedPoint; b`gensym10: typeof(a`gensym10))
`/`:
arithmetic: proc `/`(a, b: FixedPoint): typeof(a)
arithmetic: proc `/`(a`gensym5: FixedPoint; b`gensym5: SomeNumber): typeof(a`gensym5)
arithmetic: proc `/`(a`gensym5: SomeNumber; b`gensym5: FixedPoint): typeof(b`gensym5)
`<=`:
comparison: proc `<=`(a`gensym4, b`gensym4: FixedPoint): bool
comparison: proc `<=`(a`gensym3: FixedPoint; b`gensym3: SomeNumber): bool
comparison: proc `<=`(a`gensym3: SomeNumber; b`gensym3: FixedPoint): bool
`<`:
comparison: proc `<`(a`gensym2, b`gensym2: FixedPoint): bool
comparison: proc `<`(a`gensym1: FixedPoint; b`gensym1: SomeNumber): bool
comparison: proc `<`(a`gensym1: SomeNumber; b`gensym1: FixedPoint): bool
`==`:
comparison: proc `==`(a`gensym0, b`gensym0: FixedPoint): bool
`as`:
base: template `as`(value: typed; prototype: FixedPoint): typeof(prototype)
`div`:
arithmetic: proc `div`(a`gensym6: FixedPoint; b`gensym6: SomeNumber): typeof(a`gensym6)
arithmetic: proc `div`(a`gensym6: SomeNumber; b`gensym6: FixedPoint): typeof(b`gensym6)
arithmetic: template `div`(a, b: FixedPoint): auto
abs:
arithmetic: proc abs(value`gensym12: FixedPoint): typeof(value`gensym12)
arctan2:
trig: proc arctan2(y, x: FixedPoint): typeof(y)
cos:
trig: proc cos(value: FixedPoint): typeof(value)
degToRad:
trig: proc degToRad(value: FixedPoint): typeof(value)
FixedPoint:
base: type FixedPoint
fp32:
base: proc fp32(value: SomeFloat; precision: static Natural): FPInt32[precision]
base: proc fp32(value: SomeInteger; precision: static Natural): FPInt32[precision]
fp64:
base: proc fp64(value: SomeFloat; precision: static Natural): FPInt64[precision]
base: proc fp64(value: SomeInteger; precision: static Natural): FPInt64[precision]
FPInt32:
base: type FPInt32
FPInt64:
base: type FPInt64
high:
base: proc high(typ: typedesc[FixedPoint]): typ:type
isqrt:
util: proc isqrt(n: SomeInteger): SomeInteger
low:
base: proc low(typ: typedesc[FixedPoint]): typ:type
normalizeRads:
trig: proc normalizeRads(value: FixedPoint): typeof(value)
precision:
base: macro precision(num: FixedPoint): Natural
radToDeg:
trig: proc radToDeg(value: FixedPoint): typeof(value)
sin:
trig: proc sin(value: FixedPoint): typeof(value)
sqrt:
arithmetic: proc sqrt(value: FixedPoint): typeof(value)
toFloat:
base: proc toFloat(d: FixedPoint): auto
toInt:
base: proc toInt(d: FixedPoint): auto
underlying:
base: template underlying(value: FixedPoint | typedesc[FixedPoint]): typedesc