Closed
Description
Rust should expose the full standard C99 math library through the Float
trait. The cmath
module will then be an implementation detail we don't need to expose. This will allow Rust to move to a specific math library in the future too rather than using the standard C library provided by the OS.
At the moment, a macro is used to generate a whole bunch of wrappers around these functions. This actually makes the code longer, rather than shorter, so I don't see a point in keeping it around.