2 ms·
No, the requires clause is verified at compile time. To successfully compile, you must perform a check (y != 0) before calling the f function. The compiler ve
by bokchoi 15y ago
No, the requires clause is verified at compile time. To successfully compile, you must perform a check (y != 0) before calling the f function. The compiler verifies that y will never be zero when called.