← Standard library

InfnanResult

struct InfnanResult
import InfnanResult from Wax;

The result of recognizing an inf/infinity/nan prefix. Read the bit fields only when ok is true.

FloatParse.wax:150

Members

bits64field

public uint64 bits64

The binary64 result bits on success.

FloatParse.wax:154

bits32field

public uint32 bits32

The binary32 result bits on success.

FloatParse.wax:158

okfield

public bool ok

Whether this conversion or recognition attempt succeeded.

FloatParse.wax:162

lastMatchfield

public int32 lastMatch

The first unconsumed byte offset relative to the supplied span.

FloatParse.wax:166

outcomefield

public int32 outcome

The FloatParse outcome code.

FloatParse.wax:170

constructorconstructor

public constructor ()

Creates a zero-initialized result record.

FloatParse.wax:174

ToStringmethod

public fn ToString() : string

Provided by the compiler.

ToStringBuffermethod

public fn ToStringBuffer(StringBuilder builder) : int32

Provided by the compiler.