News for hackers. Stuff that matters.
Re:1/0 = 0 by AnIdiotOnTheNet on Friday August 10, 2018 @04:58PM (#17736682)
Zig defines checked versions of mathematical operators in its std lib [0], which return an Error Union. It's like an Optional (which Zig also has), but with an error instead of null. Your code can choose to handle this error however it wants.

[0] https://ziglang.org/documentation/master/#Standard-Library-M...

There are no comments on this comment yet.