Y
Hacker News
new
|
ask
|
show
|
jobs
by
quickthrower2
898 days ago
You need refinement types. Psuedocode:
timespandays : int, timespandays > 0
your program can then be proven by the compiler not to NaN.