You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In analogy to the strconv.FormatFloat and fmt.Printf functions using the 'g' format, (_Float).Text and (_Float).Format should support the 'g' format with a negative precision (== smallest number of digits necessary to identify the floating-point value uniquely).
The implementation is in (*Float).Text.
Once fixed, the work-around (to avoid a panic) in (*Float).Format can be removed.
The text was updated successfully, but these errors were encountered:
In analogy to the strconv.FormatFloat and fmt.Printf functions using the 'g' format, (_Float).Text and (_Float).Format should support the 'g' format with a negative precision (== smallest number of digits necessary to identify the floating-point value uniquely).
The implementation is in (*Float).Text.
Once fixed, the work-around (to avoid a panic) in (*Float).Format can be removed.
The text was updated successfully, but these errors were encountered: