Initial project import

This commit is contained in:
Agila Forge Importer committed 2026-07-13 15:20:32 +00:00
commit 23f2d29e32
11957 files changed
+1754577

No files matched your search

+22
View File
@@ -0,0 +1,22 @@
import math
fn test_log_base() {
assert math.log(math.e) == 1.0
}
fn test_log2_base() {
assert math.log2(2.0) == 1.0
}
fn test_log10_base() {
assert math.log10(10.0) == 1.0
assert math.log10(0.00000000000000001) == -17.0
}
fn test_log1p_base() {
assert math.log1p(math.e - 1) == 1.0
}
fn test_log_b_base() {
assert math.log_b(2.0) == 1.0
}