Y
Hacker News
new
|
ask
|
show
|
jobs
by
Nagyman
890 days ago
A reasonable type could be defined for outside temperature with predefined bounds, for example in ADA:
type OutsideTempC is digits 3 range -100.0 .. 70.0;
(Edit: others mentioned this)