mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-09 06:12:05 -04:00
Add ExactValue_Rational; Start adding some tests for big rat
This commit is contained in:
1 parent
db10c6ba3f
commit
e23e01510e
3 files changed
+209
-5
No files matched your search
@@ -3860,6 +3860,12 @@ int main(int arg_count, char const **arg_ptr) {
|
||||
init_keyword_hash_table();
|
||||
init_terminal();
|
||||
|
||||
// TEMPORARY(bill): validate the exact-rational core in-tree.
|
||||
if (gb_get_env("ODIN_BIGRAT_SELFTEST", heap_allocator()) != nullptr) {
|
||||
exact_value_rational_selftest();
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (!check_env()) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user