hexf icon indicating copy to clipboard operation
hexf copied to clipboard

Add format_hexf functions

Open youknowone opened this issue 6 years ago • 3 comments

~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)

youknowone avatar May 16 '19 18:05 youknowone

This does not build because there is no FormatHexfError.

sanxiyn avatar May 22 '19 05:05 sanxiyn

Fixed it, but still failing for Rust 1.15

youknowone avatar May 22 '19 05:05 youknowone

Will anyone confirm this is a mergable approach or not?

youknowone avatar Nov 03 '19 07:11 youknowone