OpenBound
Bases: Bound
An open Bound, i.e. the value on the border does not belong to the range.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
value |
float
|
The value of the OpenBound. |
required |
Source code in src/safeds/exceptions/_generic.py
__init__(value)
¶
Initialize an OpenBound.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
value |
float
|
The value of the OpenBound. |
required |
Raises:
Type | Description |
---|---|
ValueError
|
If value is nan. |
Source code in src/safeds/exceptions/_generic.py
__str__()
¶
Get a string representation of the concrete value of the OpenBound.