add trig functions to dec in zig

This commit is contained in:
Brendan Hansknecht 2023-09-16 11:05:44 -07:00
parent ab2ec925a3
commit 67494e00fd
No known key found for this signature in database
GPG key ID: 0EA784685083E75B
2 changed files with 67 additions and 0 deletions

View file

@ -22,6 +22,8 @@ comptime {
exportDecFn(dec.toStr, "to_str");
exportDecFn(dec.fromU64C, "from_u64");
exportDecFn(dec.toI128, "to_i128");
exportDecFn(dec.fromF64, "from_f64");
exportDecFn(dec.toF64, "to_f64");
exportDecFn(dec.eqC, "eq");
exportDecFn(dec.neqC, "neq");
exportDecFn(dec.negateC, "negate");