var digit: i128 = 0;
var part: f64 = undefined;
part = @floatFromInt(digit);//error: invalid builtin function: '@floatFromInt'zig 0.10.0 #1
//part = @intToFloat(f64, digit);//error: invalid builtin function: '@intToFloat'zig trunk #Executor 1
``` i get both errors at the same time, at https://zig.godbolt.org/ on zig trunk, is there a way to specify version in the code to make it stop
#specify compiler version
1 messages · Page 1 of 1 (latest)
std.fmt.parseFloat()
@truncate
im pretty sure this issue came about because if the online compiler, i will download zig for real
:worksonmymachine:
(use zig trunk)
u not save?
wdym