This website requires JavaScript.
Explore
Help
Sign In
idris-lang
/
Idris2
Watch
1
Star
1
Fork
0
You've already forked Idris2
mirror of
https://github.com/idris-lang/Idris2.git
synced
2024-12-21 10:41:59 +03:00
Code
Issues
Projects
Releases
Wiki
Activity
c11e0c1e66
Idris2
/
tests
/
node
/
casts
/
run
4 lines
46 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Add testing utilities script
2023-08-29 13:47:42 +03:00
. ../../testutils.sh
[ new ] Add Int(8/16/32/64) (#1352) This adds new `Int8`, `Int16`, `Int32` and `Int64` data types to the compiler, thus working towards properly specified integer types as discussed in #1048. In addition, the following changes / corrections are made: * Support casts from `Char`, `String`, and `Double` to all integer types (and back). This fixes #1270. * Make sure that all casts to limited-precision integers are properly bounds checked (this was not the case so far for casts from `String` and `Double` to `Int`) * Add a thorough set of tests to make sure all bounds checks work correctly for all supported casts and arithmetic operations
2021-05-04 10:22:06 +03:00
Remove trivial testing input files
2023-08-29 19:02:01 +03:00
run --cg node Casts.idr
Reference in New Issue
Copy Permalink