MCPcopy Create free account
hub / github.com/explodingcamera/tinywasm / NoStdFloatExt

Interface NoStdFloatExt

crates/tinywasm/src/interpreter/no_std_floats.rs:2–8  ·  view source on GitHub ↗

see https://github.com/rust-lang/rust/issues/137578 :(

Source from the content-addressed store, hash-verified

1// see https://github.com/rust-lang/rust/issues/137578 :(
2pub(super) trait NoStdFloatExt {
3 fn round(self) -> Self;
4 fn ceil(self) -> Self;
5 fn floor(self) -> Self;
6 fn trunc(self) -> Self;
7 fn sqrt(self) -> Self;
8}
9
10#[rustfmt::skip]
11impl NoStdFloatExt for f64 {

Callers

nothing calls this directly

Implementers 1

no_std_floats.rscrates/tinywasm/src/interpreter/no_std

Calls

no outgoing calls

Tested by

no test coverage detected