Skip to main content

float_width

Function float_width 

Source
pub fn float_width(kind: FloatKind, target: &TargetInfo) -> u32
Expand description

The width of a real floating type in bits, including the padding long double carries.

The number for long double is storage rather than precision. Eighty bits of x87 occupy sixteen bytes on SysV x86-64, and it is the sixteen that sizeof answers with.