authorgravatar for datamanrb@gmail.comdata-man <datamanrb@gmail.com> 2020-01-08 21:57:20+05:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-01-08 13:56:16-05:00
log02ace4569ec52561f627ad3a33d7b90b7bdbb6f5
treeef67e074cff1ae511573e21d3a9b98084ae1592a
parent38ce7f64e3fd81476d7fda1dd85d10e493a8ee04

Correct @mulAdd's doc


1 files changed, 4 insertions(+), 1 deletions(-)

doc/langref.html.in+4-1
...@@ -6828,9 +6828,12 @@ async fn func(y: *i32) void {...@@ -6828,9 +6828,12 @@ async fn func(y: *i32) void {
6828 {#header_open|@mulAdd#}6828 {#header_open|@mulAdd#}
6829 <pre>{#syntax#}@mulAdd(comptime T: type, a: T, b: T, c: T) T{#endsyntax#}</pre>6829 <pre>{#syntax#}@mulAdd(comptime T: type, a: T, b: T, c: T) T{#endsyntax#}</pre>
6830 <p>6830 <p>
6831 Fused multiply add (for floats), similar to {#syntax#}(a * b) + c{#endsyntax#}, except6831 Fused multiply add, similar to {#syntax#}(a * b) + c{#endsyntax#}, except
6832 only rounds once, and is thus more accurate.6832 only rounds once, and is thus more accurate.
6833 </p>6833 </p>
6834 <p>
6835 Supports Floats and Vectors of floats.
6836 </p>
6834 {#header_close#}6837 {#header_close#}
68356838
6836 {#header_open|@byteSwap#}6839 {#header_open|@byteSwap#}