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)
type OutsideTempC is digits 3 range -100.0 .. 70.0;
(Edit: others mentioned this)
No comments yet.