[postgis-tickets] [PostGIS] #4543: Use Ryū to output floating point numbers
PostGIS
trac at osgeo.org
Sun Dec 29 15:08:29 PST 2019
#4543: Use Ryū to output floating point numbers
--------------------------+---------------------------
Reporter: Algunenano | Owner: Algunenano
Type: enhancement | Status: assigned
Priority: medium | Milestone: PostGIS 3.1.0
Component: liblwgeom | Version: master
Resolution: | Keywords:
--------------------------+---------------------------
Comment (by Mike Taves):
Thanks for introducing Ryu, as I haven't seen this yet. It appears to be a
possible successor to Google's [https://github.com/google/double-
conversion double-conversation].
Another good resource on the same topic is from
[http://www.ryanjuckett.com/programming/printing-floating-point-numbers/
Ryan Juckett], with an implementation called Dragon4, which is now used by
numpy to format floats to
[https://docs.scipy.org/doc/numpy/reference/generated/numpy.format_float_positional.html
positional] or
[https://docs.scipy.org/doc/numpy/reference/generated/numpy.format_float_scientific.html
scientific] notation strings. It's a shame there is no direct comparison
between Dragon4 and Ryu, although I will say the publication for Ryu
presents itself well.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4543#comment:4>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list