This repository was archived by the owner on Apr 28, 2025. It is now read-only.
This repository was archived by the owner on Apr 28, 2025. It is now read-only.
Missing use core::num::Float? #149
Closed
Description
Can't compile with rustc 1.26.2 stable on OpenSUSE Tumbleweed 64bit because I get errors like:
error[E0599]: no function or associated item named `from_bits` found for type `f32` in the current scope
--> libm/src/math/tanhf.rs:9:9
|
9 | x = f32::from_bits(ix);
| ^^^^^^^^^^^^^^ function or associated item not found in `f32`
|
= help: items from traits can only be used if the trait is in scope
= note: the following trait is implemented but not in scope, perhaps add a `use` for it:
candidate #1: `use core::num::Float;
Temporarily fixed by use core::num::Float;
.
Metadata
Metadata
Assignees
Labels
No labels