Fix for trunc_f16/32/64 (#1574)
This commit is contained in:
gingerBill authored and GitHub committed 2022-03-14 11:37:11 +00:00
commit 9fa69c3d3b
7 files changed
+471 -7

No files matched your search

+1
View File
@@ -94,6 +94,7 @@ the_basics :: proc() {
z: f64 // `z` is typed of type `f64` (64-bit floating point number)
z = 1 // `1` is an untyped integer literal which can be implicitly converted to `f64`
// No need for any suffixes or decimal places like in other languages
// (with the exception of negative zero, which must be given as `-0.0`)
// CONSTANTS JUST WORK!!!