add benchmark for sin and asin

This commit is contained in:
Brendan Hansknecht 2023-09-16 11:06:03 -07:00
parent 67494e00fd
commit 7986d6cdba
No known key found for this signature in database
GPG key ID: 0EA784685083E75B
3 changed files with 32 additions and 1 deletions

View file

@ -1203,6 +1203,10 @@ pub fn fromF32C(arg_f32: f32) callconv(.C) i128 {
}
}
pub fn toF64(arg: RocDec) callconv(.C) f64 {
return @call(.{ .modifier = always_inline }, RocDec.toF64, .{arg});
}
pub fn exportFromInt(comptime T: type, comptime name: []const u8) void {
comptime var f = struct {
fn func(self: T) callconv(.C) i128 {