Setting too high value for "maxValue" in a TFloatSpinEdit crashes Lazarus
- Lazarus/FPC Version: Lazarus 2.2.2 (rev lazarus_2_2_2) FPC 3.2.2
- Operating System: Windows
- CPU / Bitness: 64Bit
Lazarus crashes when setting a too high (?) value for the property "maxValue" of a TFloatSpinEdit in the object inspector.
The supported range of values in Windows seems to be the range of single. Putting "3.4E38" works fine, "3.4E39" crashes the IDE.
The supported range of values in Linux seems to be the range of double, as expected. Putting "1.7E308" works fine, as does "1.7E309" which gets converted to "+Inf" by the IDE.
maxValue itself is of type double.
What did you expect
The IDE not crashing and accepting the full range of double as input.
How to reproduce
Put a TFloatSpinEdit on the form and put a value higher then the maximum single value in it's maxValue property in the object inspector.