| ... | @@ -634,6 +634,16 @@ export fn cosf(a: f32) f32 { | ... | @@ -634,6 +634,16 @@ export fn cosf(a: f32) f32 { |
| 634 | return math.cos(a); | 634 | return math.cos(a); |
| 635 | } | 635 | } |
| 636 | | 636 | |
| | 637 | export fn sincos(a: f64, r_sin: *f64, r_cos: *f64) void { |
| | 638 | r_sin.* = math.sin(a); |
| | 639 | r_cos.* = math.cos(a); |
| | 640 | } |
| | 641 | |
| | 642 | export fn sincosf(a: f32, r_sin: *f32, r_cos: *f32) void { |
| | 643 | r_sin.* = math.sin(a); |
| | 644 | r_cos.* = math.cos(a); |
| | 645 | } |
| | 646 | |
| 637 | export fn exp(a: f64) f64 { | 647 | export fn exp(a: f64) f64 { |
| 638 | return math.exp(a); | 648 | return math.exp(a); |
| 639 | } | 649 | } |