hexf
hexf copied to clipboard
Add format_hexf functions
~I don't have a good idea for inf and nan. They generate errors for now.~
using wrapper:
use hexf;
let s = format!("{:x}", hexf::Format(1.0f64));
using format function:
use hexf
let s = hexf::format(1.0f32)
This does not build because there is no FormatHexfError.
Fixed it, but still failing for Rust 1.15
Will anyone confirm this is a mergable approach or not?