floatToBuffer

Formats value as a literal of type type into buf.

void
floatToBuffer
(,
const real_t value
,,
const bool allowHex
)

Parameters

type Type

literal type (e.g. Tfloat)

value real_t

value to print

buf OutBuffer

target buffer

allowHex bool

whether hex floating point literals may be used for greater accuracy

Meta