Skip to main content

Crate gpoint

Crate gpoint 

Source
Expand description

Wrapper for using C’s printf("%g") format for your floating point output.

By default, formatting is done in pure Rust. Enable the libc feature to delegate to your system’s snprintf() instead (only available on Unix).

Structs§

GPoint
A wrapper around floats providing an implementation of Display which uses C’s printf() "%g" format, for when you need to match exactly what a C program would output.