diff options
| author | lording <mathias.berthonneau@gmail.com> | 2023-06-22 12:11:24 +0000 |
|---|---|---|
| committer | lording <mathias.berthonneau@gmail.com> | 2023-06-22 12:11:24 +0000 |
| commit | d52f360731fcfaf47818addfd61332bf0c0e39a5 (patch) | |
| tree | 03e0207438be1b335d9121dd1bf6f974e2c2b0c3 /exercises/065_builtins2.zig | |
| parent | 3e502fe69b5151fd963f38b55b15f67fa698deb9 (diff) | |
Update outdated comments
Diffstat (limited to 'exercises/065_builtins2.zig')
| -rw-r--r-- | exercises/065_builtins2.zig | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/exercises/065_builtins2.zig b/exercises/065_builtins2.zig index 7d3e770..7d9939a 100644 --- a/exercises/065_builtins2.zig +++ b/exercises/065_builtins2.zig @@ -1,13 +1,13 @@ // // Zig has builtins for mathematical operations such as... // -// @sqrt @sin @cos -// @exp @log @floor +// @sqrt @sin @cos +// @exp @log @floor // // ...and lots of type casting operations such as... // -// @as @intToError @intToFloat -// @intToPtr @ptrToInt @enumToInt +// @as @errorFromInt @floatFromInt +// @ptrFromInt @intFromPtr @intFromEnum // // Spending part of a rainy day skimming through the complete // list of builtins in the official Zig documentation wouldn't be |
