Commit graph

48 commits

Author SHA1 Message Date
Folkert
fc635abe0b Revert "decimal add experiment"
This reverts commit bfd5ca623c.
2021-11-21 20:29:12 +01:00
Folkert
bfd5ca623c decimal add experiment 2021-11-21 20:02:33 +01:00
Folkert
5529841d68 Merge remote-tracking branch 'origin/trunk' into decimal-literals 2021-11-21 19:31:38 +01:00
satotake
3a890f46d3 Add x86_64 Int lt support for gen_dev
Close #2033
2021-11-20 06:17:22 +00:00
satotake
e064deca76 add x86_64 Int neq support for gen_dev 2021-11-19 16:50:41 +00:00
satotake
2eae1a857b Fix comment wording 2021-11-18 11:20:37 +00:00
satotake
71bef85984 add x86_64 Int Num.neg support for gen_dev 2021-11-16 15:22:32 +00:00
Folkert
57538c5e94 store and load decimal numbers 2021-11-12 21:38:22 +01:00
Brian Carroll
7f633c107f Fix a bug in our model of the Wasm VM stack 2021-11-12 17:44:31 +00:00
Brian Carroll
0ce0e337cd Enable more tests 2021-11-10 15:46:34 +00:00
Brian Carroll
7c95189e4a Get lots of Num lowlevel ops working 2021-11-10 14:21:32 +00:00
Folkert
a9ce02799c WIP 2021-11-09 21:37:56 +01:00
Brian Carroll
8392431bd8 Enable a few more tests for gen_wasm 2021-11-09 15:20:55 +00:00
Brendan Hansknecht
360974398a Merge test_dev, test_wasm, and test_wasm_util into test_gen 2021-11-08 19:31:20 -08:00
Folkert
ada331567a respect int/float precision in pattern matchs 2021-09-18 22:55:34 +02:00
Folkert
d77c695e45 turn off wasm testing 2021-08-29 23:08:16 +02:00
Folkert
4ced5ce2c0 updates for tests 2021-08-29 23:06:23 +02:00
Folkert
71c0a325ee wasm test harnass 2021-08-29 00:36:16 +02:00
Joshua Hoeflich
6ad7dfc0f4 Cargo fmt 2021-08-18 17:40:17 -05:00
Joshua Hoeflich
2672c8ed10 NumBytesToU16 and NumBytesToU32 tested 2021-08-18 17:39:59 -05:00
Joshua Hoeflich
a4197d073c bytesToU16 and bytesToU32 have proper types 2021-08-18 15:46:53 -05:00
Joshua Hoeflich
b4f575736b castToNat working 2021-08-18 11:31:48 -05:00
Joshua Hoeflich
7068da7144 Merge trunk 2021-08-17 08:47:40 -05:00
Joshua Hoeflich
1c6ac84f2f Add Num.round to dev backend 2021-08-15 17:50:07 -05:00
Joshua Hoeflich
22e781259d TODO: Actually implement the functions 2021-08-14 19:28:13 -05:00
Joshua Hoeflich
9dad304e95 Passing arguments successfully to bytesToU16 2021-08-14 19:11:27 -05:00
Joshua Hoeflich
5115a004ed Type shenanigans work 2021-08-14 18:50:55 -05:00
Joshua Hoeflich
c8f6762deb Switch from floats to usize 2021-08-14 18:30:43 -05:00
Joshua Hoeflich
59f07377fe More testing; clean up 2021-08-14 18:23:49 -05:00
Joshua Hoeflich
744fefc3a1 Fixed: Actually calling llvm we generate 2021-08-14 18:20:11 -05:00
Joshua Hoeflich
ff2c3d7945 Dummy implementation that doesn't do what we want 2021-08-14 17:59:53 -05:00
Folkert
899cbeabd7 fix extra ampersands 2021-07-29 17:32:08 +02:00
Folkert
23ea151d5f make decimal math ops correctly report overflow 2021-07-18 22:04:32 +02:00
Jared Ramirez
a35cc321ab Address various bits of feedback 2021-07-09 09:30:45 -07:00
Jared Ramirez
ecb89da7b8 Add basic Dec operations 2021-06-25 10:25:03 -07:00
Jared Ramirez
0827123c88 Adding Decimals work!! 2021-06-24 11:15:52 -07:00
Jared Ramirez
4d6e5a1a4f [WIP] Add Dec/Decimal builtin types 2021-06-23 19:30:16 -07:00
Folkert
2f087ae7b4 add missing #[test] 2021-03-29 15:39:19 +02:00
Ju Liu
4b8a9a5299 Add more tests 2021-03-28 23:53:35 +01:00
Richard Feldman
51e7720658
Merge branch 'trunk' into add-num-log 2021-03-28 12:43:51 -04:00
Ju Liu
8ccdeefdf2 Fix bug in Num.sqrt 2021-03-28 17:23:47 +01:00
Ju Liu
0190bbb06d Add test for Num.log 2021-03-28 15:14:43 +01:00
Folkert
b6d8b301d5 fix overflow issue in Num.isMultipleOf 2021-03-19 17:24:55 +01:00
Eric Henry
1e9bd0d7f1 implement isMultipleOf builtin 2021-03-14 14:52:38 -04:00
Eric Henry
d47c3d7f49 test fix test 2021-03-12 22:50:48 -05:00
Folkert
a8cd87b974 test maxI128 2021-03-09 20:19:45 +01:00
Folkert
ef362ada26 change headers 2021-03-01 15:15:05 +01:00
Folkert
3e3fe4fc7a move test files 2021-03-01 14:59:47 +01:00
Renamed from compiler/gen/tests/gen_num.rs (Browse further)