| |||
| Home > Compiler Command-line Options > Command-line options > ‑‑fp16_format=format | |||
This option enables the use of half-precision floating-point
numbers as an optional extension to the VFPv3 architecture. If a
format is not specified, use of the __fp16 data type
is faulted by the compiler.
--fp16_format=format
Where is
one of:format
alternativeAn alternative to ieee that provides
additional range, but has no NaN or inifinity values.
ieeeHalf-precision binary floating-point format defined by IEEE 754r, a revision to the IEEE 754 standard.
noneThis
is the default setting. It is equivalent to not specifying a format
and means that the compiler faults use of the __fp16 data
type.
Half-precision floating-point number support of the Compiler User Guide.