toExact

Converts x to the specified binary floating point type rounded if necessary by mode

  1. T toExact(D x, RoundingMode mode)
  2. F toExact(D x, RoundingMode mode)
    F
    toExact
    (
    F
    D
    )
    (
    auto const ref D x
    ,)
    if (
    isFloatingPoint!F &&
    )

Throws

Meta