[go: up one dir, main page]

Clamp ldexp exponent input to prevent over/underflows.

See #2131 (closed) for a more complete discussion, and !375 (closed) for possible implementations to address the accuracy/range issue for exponent.

This is a simple fix to prevent garbage values, restricting the exponent to the valid range that can fit within a floating-point scalar.

Merge request reports

Loading