allow open intervals on float range#1303
Conversation
|
Looks okay to me. Could you add a changelog entry. |
edd89cc to
b30b909
Compare
|
Thanks for the feedback, added the changelog |
|
I think it's clearer as two boolean options, |
50b011a to
defc5ec
Compare
|
I decided the entire implementation of number types needed to be refactored. I've left your initial commit, then added my refactor. I created a Updated the number type tests to test the type directly and use |
defc5ec to
c8f92b7
Compare
allow specifying min and max as open separately clamp works for open int bounds, fails for open float bounds help output shows range information
c8f92b7 to
d77a0ae
Compare
fixes #1110
This allows for open intervals (exclusive ranges) for the FloatRange. I believe that without this you would have to specify arbitrary precision of the intervals to emulate open intervals (for example you would have to do 4.999999 in the initialization of FloatRange).