fxlibc/3rdparty/grisu2b_59_56
Lephenixnoir f52e0923bc
stdio: move the printf implementation from gint
2021-06-07 18:57:11 +02:00
..
LICENSE stdio: move the printf implementation from gint 2021-06-07 18:57:11 +02:00
README stdio: move the printf implementation from gint 2021-06-07 18:57:11 +02:00
diy_fp.h stdio: move the printf implementation from gint 2021-06-07 18:57:11 +02:00
double.h stdio: move the printf implementation from gint 2021-06-07 18:57:11 +02:00
grisu2.h stdio: move the printf implementation from gint 2021-06-07 18:57:11 +02:00
grisu2b_59_56.c stdio: move the printf implementation from gint 2021-06-07 18:57:11 +02:00
k_comp.h stdio: move the printf implementation from gint 2021-06-07 18:57:11 +02:00
powers.h stdio: move the printf implementation from gint 2021-06-07 18:57:11 +02:00
powers_ten_round64.h stdio: move the printf implementation from gint 2021-06-07 18:57:11 +02:00

README

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Grisu is an algorithm by Florian Loitsch to print the decimal representation of
floating-point numbers.

The original code from which this folder is extracted can be found at
<https://drive.google.com/open?id=0BwvYOx00EwKmejFIMjRORTFLcTA>.

Only a minimal variation, the Grisu2 rounding algorithm with α=-59 and γ=-56,
is present here. The code has been adapted to fit the limited runtime as well
as the use of OpenLibm.

See the original paper at <https://www.cs.tufts.edu/~nr/cs257/archive/florian-loitsch/printf.pdf>
and Florian Loitsch's home page at <https://florian.loitsch.com/publications>.

The files are licensed under the permissive conditions of the attached LICENSE.