Add log function to Dec

This commit is contained in:
George Ungureanu Vranceanu 2023-11-25 14:29:20 +00:00
parent 62964f68cf
commit 23b6b432c7
No known key found for this signature in database
GPG key ID: A2994B1B2B6D2512
3 changed files with 14 additions and 0 deletions

View file

@ -32,6 +32,7 @@ comptime {
exportDecFn(dec.fromF64C, "from_float.f64");
exportDecFn(dec.fromStr, "from_str");
exportDecFn(dec.fromU64C, "from_u64");
exportDecFn(dec.logC, "log");
exportDecFn(dec.mulC, "mul_with_overflow");
exportDecFn(dec.mulOrPanicC, "mul_or_panic");
exportDecFn(dec.mulSaturatedC, "mul_saturated");