2022-08-25 08:01:14 +00:00
|
|
|
const io from @'core/io';
|
|
|
|
const { concat } from @'core/string';
|
|
|
|
const { toString } from @'core/float_utils';
|
2022-06-02 16:25:01 +00:00
|
|
|
|
2022-08-26 16:19:45 +00:00
|
|
|
let @main : i32 in {
|
2022-08-25 08:01:14 +00:00
|
|
|
let float1 : f128 = 234.6;
|
|
|
|
f128 float2 : f128 = 2934748348291930404.5;
|
|
|
|
io.outln(concat('Result is: ',toString(float1 + float2)));
|
2022-06-02 16:25:01 +00:00
|
|
|
}
|