Documentation ¶
Overview ¶
Package ryu implements the Ryu algorithm for quickly converting floating point numbers into strings.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendFloat32 ¶
AppendFloat32 appends the string form of the 32-bit floating point number f, as generated by FormatFloat32, to b and returns the extended buffer.
func AppendFloat64 ¶
AppendFloat64 appends the string form of the 64-bit floating point number f, as generated by FormatFloat64, to b and returns the extended buffer. It behaves like strconv.AppendFloat(b, f, 'e', -1, 64).
func AppendFloat64f ¶
AppendFloat64 appends the string form of the 64-bit floating point number f, as generated by FormatFloat64, to b and returns the extended buffer. It behaves like strconv.AppendFloat(b, f, 'f', -1, 64).
func FormatFloat32 ¶
FormatFloat32 converts a 32-bit floating point number f to a string. It behaves like strconv.FormatFloat(float64(f), 'e', -1, 32).
func FormatFloat64 ¶
FormatFloat64 converts a 64-bit floating point number f to a string. It behaves like strconv.FormatFloat(f, 'e', -1, 64).
func FormatFloat64f ¶
FormatFloat64 converts a 64-bit floating point number f to a string. It behaves like strconv.FormatFloat(f, 'f', -1, 64).
Types ¶
This section is empty.