object RyuFloat
- Alphabetic
- By Inheritance
- RyuFloat
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final val FLOAT_EXPONENT_BIAS: 127
- final val FLOAT_EXPONENT_BITS: Int(8)
- final val FLOAT_EXPONENT_MASK: 255
- final val FLOAT_MANTISSA_BITS: Int(23)
- final val FLOAT_MANTISSA_MASK: 8388607
- final val LOG10_2_DENOMINATOR: Long(10000000L)
- final val LOG10_2_NUMERATOR: Long
- final val LOG10_5_DENOMINATOR: Long(10000000L)
- final val LOG10_5_NUMERATOR: Long
- final val LOG2_5_DENOMINATOR: Long(10000000L)
- final val LOG2_5_NUMERATOR: Long
- final val POW5_ARRAY_NCOL: Int(2)
- final val POW5_BITCOUNT: Int(61)
- final val POW5_HALF_BITCOUNT: Int(31)
- final val POW5_INV_BITCOUNT: Int(59)
- final val POW5_INV_HALF_BITCOUNT: Int(31)
- final val POW5_INV_SPLIT: scala.Array[Int]
- final val POW5_SPLIT: scala.Array[Int]
- final val RESULT_STRING_MAX_LENGTH: Int(15)
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def floatToChars(value: Float, roundingMode: RyuRoundingMode, result: scala.Array[Char], offset: Int): Int
Low-level function executing the Ryu algorithm on
Float
value. This function allows destination passing style. This means that the result destination (
Array[Char]) has to be passed as an argument. The goal is to avoid additional allocations when possible. Warnings: this function makes no verification of destination bounds (offset and length are assumed to be valid). The caller must thus ensure that
result.length - offset >= RESULT_STRING_MAX_LENGTH.
Low-level function executing the Ryu algorithm on
Float
value. This function allows destination passing style. This means that the result destination (
Array[Char]) has to be passed as an argument. The goal is to avoid additional allocations when possible. Warnings: this function makes no verification of destination bounds (offset and length are assumed to be valid). The caller must thus ensure that
result.length - offset >= RESULT_STRING_MAX_LENGTH.
- value
the value to be converted
- roundingMode
customization of Ryu rounding mode
- result
the
Array[Char]
destination of the conversion result- offset
index in
Array[Char]
destination where new chars will start to be written- returns
new offset as: old offset + number of created chars (i.e. last modified index + 1)
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()