module FP
Defined in:
fixedpoint.crimpl.cr
Class Method Summary
-
.fp(val : Int32) : FixedPoint32
Shortcut to create a fixed point using the size of given argument to determine size of fixed point
- .fp(val : Int64) : FixedPoint64
- .fp(val : Float32) : FixedPoint32
- .fp(val : Float64) : FixedPoint64
-
.fp32(val : Number) : FixedPoint32
Size specific shortcut constructors
- .fp64(val : Number) : FixedPoint64
Instance Method Summary
Class Method Detail
def self.fp(val : Int32) : FixedPoint32
#
Shortcut to create a fixed point using the size of given argument to determine size of fixed point