diff options
| author | pravic <[email protected]> | 2016-06-06 23:06:58 +0300 |
|---|---|---|
| committer | pravic <[email protected]> | 2016-06-06 23:06:58 +0300 |
| commit | 1c889bacaf6b132e605638c5a8f9a78bdf8c7e67 (patch) | |
| tree | 2b00929b29754929bfd86c868cd6cd6f1052c2bb /libcore/default.rs | |
| parent | update to 2016-06-06 (diff) | |
| parent | apply libcore_nofp patch (diff) | |
| download | kmd-env-rs-1c889bacaf6b132e605638c5a8f9a78bdf8c7e67.tar.xz kmd-env-rs-1c889bacaf6b132e605638c5a8f9a78bdf8c7e67.zip | |
Merge branch 'nofp_patch' into libcore_nofp
Diffstat (limited to 'libcore/default.rs')
| -rw-r--r-- | libcore/default.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcore/default.rs b/libcore/default.rs index 485ddae..028e820 100644 --- a/libcore/default.rs +++ b/libcore/default.rs @@ -154,5 +154,7 @@ default_impl! { i16, 0 } default_impl! { i32, 0 } default_impl! { i64, 0 } +#[cfg(not(disable_float))] default_impl! { f32, 0.0f32 } +#[cfg(not(disable_float))] default_impl! { f64, 0.0f64 } |