Object

scala.scalanative.runtime.ieee754tostring.ryu

RyuFloat

Related Doc: package ryu

Permalink

object RyuFloat

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RyuFloat
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final val FLOAT_EXPONENT_BIAS: Int

    Permalink
  5. final val FLOAT_EXPONENT_BITS: Int(8)

    Permalink
  6. final val FLOAT_EXPONENT_MASK: Int

    Permalink
  7. final val FLOAT_MANTISSA_BITS: Int(23)

    Permalink
  8. final val FLOAT_MANTISSA_MASK: Int

    Permalink
  9. final val LOG10_2_DENOMINATOR: Long(10000000L)

    Permalink
  10. final val LOG10_2_NUMERATOR: Long

    Permalink
  11. final val LOG10_5_DENOMINATOR: Long(10000000L)

    Permalink
  12. final val LOG10_5_NUMERATOR: Long

    Permalink
  13. final val LOG2_5_DENOMINATOR: Long(10000000L)

    Permalink
  14. final val LOG2_5_NUMERATOR: Long

    Permalink
  15. final val POW5_ARRAY_NCOL: Int(2)

    Permalink
  16. final val POW5_BITCOUNT: Int(61)

    Permalink
  17. final val POW5_HALF_BITCOUNT: Int(31)

    Permalink
  18. final val POW5_INV_BITCOUNT: Int(59)

    Permalink
  19. final val POW5_INV_HALF_BITCOUNT: Int(31)

    Permalink
  20. final val POW5_INV_SPLIT: scala.Array[Int]

    Permalink
  21. final val POW5_SPLIT: scala.Array[Int]

    Permalink
  22. final val RESULT_STRING_MAX_LENGTH: Int(15)

    Permalink
  23. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  24. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  27. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. def floatToChars(value: Float, roundingMode: RyuRoundingMode, result: scala.Array[Char], offset: Int): Int

    Permalink

    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)

  29. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  30. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  31. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  32. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  33. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  36. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  37. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def floatToString(value: Float, roundingMode: RyuRoundingMode): String

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 0.4.8) Internal method use, floatToChars instead

Inherited from AnyRef

Inherited from Any

Ungrouped