diff --git a/doc/langref.html.in b/doc/langref.html.in index 3671047ec0f3e0db8dad982a2e6f07871292e504..e87decdf4a9ab51de65bc8ae0c8d6a8378b47dcd 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -128,6 +128,7 @@ } .table-wrapper { width: 100%; + margin: 1em auto; overflow-x: auto; } @@ -3471,6 +3472,42 @@ void do_a_thing(struct Foo *foo) { without rounding (i.e. the integer's precision does not exceed the float's significand precision). Larger integer types that cannot be safely coerced must be explicitly casted with {#link|@floatFromInt#}.
+| Float Type | +Largest Integer Types | +
|---|---|
| {#syntax#}f16{#endsyntax#} | +{#syntax#}i12{#endsyntax#} and {#syntax#}u11{#endsyntax#} | +
| {#syntax#}f32{#endsyntax#} | +{#syntax#}i25{#endsyntax#} and {#syntax#}u24{#endsyntax#} | +
| {#syntax#}f64{#endsyntax#} | +{#syntax#}i54{#endsyntax#} and {#syntax#}u53{#endsyntax#} | +
| {#syntax#}f80{#endsyntax#} | +{#syntax#}i65{#endsyntax#} and {#syntax#}u64{#endsyntax#} | +
| {#syntax#}f128{#endsyntax#} | +{#syntax#}i114{#endsyntax#} and {#syntax#}u113{#endsyntax#} | +
| {#syntax#}c_longdouble{#endsyntax#} | +Varies by target | +