Open finkn opened 10 years ago
When defining a floating point parameter with exclusive limits, those limits aren't actually excluded. DesignSpace.next() will generate them (when float, but not double), and Design.setValue() will accept them (whether float or double).
See exclusiveFloatIsInclusive in https://github.com/finkn/InPUTspec/blob/master/main/src/net/finkn/inputspec/v050/SimpleSingleRangeNextTest.java and https://github.com/finkn/InPUTspec/blob/master/main/src/net/finkn/inputspec/v050/RangeTest.java for details.
When defining a floating point parameter with exclusive limits, those limits aren't actually excluded. DesignSpace.next() will generate them (when float, but not double), and Design.setValue() will accept them (whether float or double).
See exclusiveFloatIsInclusive in https://github.com/finkn/InPUTspec/blob/master/main/src/net/finkn/inputspec/v050/SimpleSingleRangeNextTest.java and https://github.com/finkn/InPUTspec/blob/master/main/src/net/finkn/inputspec/v050/RangeTest.java for details.