← Standard library

DecResult

struct DecResult
import DecResult from Wax;

A low-level shortest-decimal result representing mantissa × 10^exponent, used by the floating-point formatter.

StringFormatter.wax:53

Members

mantissafield

public uint64 mantissa

The unsigned decimal significand.

StringFormatter.wax:57

exponentfield

public int32 exponent

The decimal power applied to the significand.

StringFormatter.wax:61

constructorconstructor

public constructor (uint64 mantissa, int32 exponent)

Creates a decimal significand/exponent pair.

StringFormatter.wax:65

ToStringmethod

public fn ToString() : string

Provided by the compiler.

ToStringBuffermethod

public fn ToStringBuffer(StringBuilder builder) : int32

Provided by the compiler.