gparamspecs.c param_double_validate() always fails NaN/Inf/-Inf values
Submitted by Andrew Paprocki
Link to original bug (#567491)
Description
Please describe the problem: Double properties can not currently receive NaN/Inf/-Inf values because param_double_validate() does not allow for them. The CLAMP() logic will always fail. To preserve existing behavior, properties must continue to reject these values, but GParamSpecDouble should be modified to include allow_nan/allow_inf fields so that a property can allow such values.
Steps to reproduce:
Actual results:
Expected results:
Does this happen every time?
Other information:
Version: 2.19.x