Check that a numeric value is in range -max_value <= value <= max_value.
- Parameters:
- value
float
Value to check.
- name
str
Name of value.
- max_value
float
Maximum allowed value of the named field (inclusive).
- ExceptionClass
Class of exception to raise on error.