| author | |
| committer | |
| log | bbfb53d52411cc5b1f560293c757bff252e1e06f |
| tree | fab10ec3cfbf2e2662fe39422b39a81bc5fbe79c |
| parent | 99112b5d4ac885f63a79c6f7926f92ff4f3ce819 |
1 files changed, 6 insertions(+), 1 deletions(-)
std/special/c.zig+6-1| ... | ... | @@ -266,7 +266,12 @@ export fn floor(x: f64) f64 { |
| 266 | 266 | export fn ceil(x: f64) f64 { |
| 267 | 267 | return math.ceil(x); |
| 268 | 268 | } |
| 269 | ||
| 269 | export fn fma(a: f64, b: f64, c: f64) f64 { | |
| 270 | return math.fma(f64, a, b, c); | |
| 271 | } | |
| 272 | export fn fmaf(a: f32, b: f32, c: f32) f32 { | |
| 273 | return math.fma(f32, a, b, c); | |
| 274 | } | |
| 270 | 275 | fn generic_fmod(comptime T: type, x: T, y: T) T { |
| 271 | 276 | @setRuntimeSafety(false); |
| 272 | 277 |