diff options
| author | pravic <[email protected]> | 2016-04-29 21:26:11 +0300 |
|---|---|---|
| committer | pravic <[email protected]> | 2016-04-29 21:26:11 +0300 |
| commit | 676cada527e5723dba925685822baee34bc5ec2f (patch) | |
| tree | df0fb7476a440a939f3d9129c0633c372d88e9cb /libcore/default.rs | |
| parent | update libcore to 2016-04-29 nightly (diff) | |
| parent | apply libcore_nofp patch (diff) | |
| download | kmd-env-rs-676cada527e5723dba925685822baee34bc5ec2f.tar.xz kmd-env-rs-676cada527e5723dba925685822baee34bc5ec2f.zip | |
Merge branch 'libcore'
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 12c4a5c..4ec4fb6 100644 --- a/libcore/default.rs +++ b/libcore/default.rs @@ -160,5 +160,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 } |