Closed
Description
Doesn't work as expected that is. Reasoning by analogy with the int modules I would expect that float::round(5.8) returns 6.0, but instead you get: error: mismatched types: expected core::libc::types::os::arch::c95::c_double
but found float
.
Looking at the code I expect that more that just round has this problem.