pyrtma.header.Double
- class Double(*args)[source]
Bases:
FloatValidatorBase
Double (64-bit float) validator class
Methods
Validate multiple float values
Validate a float value
- validate_many(value)
Validate multiple float values
- Parameters:
value (Iterable[float]) – Iterable of floats to validate
- Raises:
TypeError – Wrong type
ValueError – Value cannot be precisely represented with this datatype
- validate_one(value)
Validate a float value
- Parameters:
value (float) – Float value
- Raises:
TypeError – Wrong type
ValueError – Value cannot be precisely represented with this datatype