about summary refs log tree commit diff
path: root/library/compiler-builtins
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2018-07-13 01:25:46 +0000
committerMichael Howell <michael@notriddle.com>2018-07-13 01:34:52 +0000
commit3accabd018c1645817d0b0cd234be6c5eae4d73a (patch)
treef493579f3312bd4fce0ea79dae1738c57f78e81d /library/compiler-builtins
parent50f9ad97a58576c4c8aecdf392242736fc11efd8 (diff)
downloadrust-3accabd018c1645817d0b0cd234be6c5eae4d73a.tar.gz
rust-3accabd018c1645817d0b0cd234be6c5eae4d73a.zip
Enable f64::round
Diffstat (limited to 'library/compiler-builtins')
-rw-r--r--library/compiler-builtins/libm/src/lib.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/library/compiler-builtins/libm/src/lib.rs b/library/compiler-builtins/libm/src/lib.rs
index f54366b95ae..06ef4592dce 100644
--- a/library/compiler-builtins/libm/src/lib.rs
+++ b/library/compiler-builtins/libm/src/lib.rs
@@ -383,7 +383,6 @@ pub trait F64Ext {
     #[cfg(todo)]
     fn ceil(self) -> Self;
 
-    #[cfg(todo)]
     fn round(self) -> Self;
 
     #[cfg(todo)]
@@ -504,7 +503,6 @@ impl F64Ext for f64 {
         ceil(self)
     }
 
-    #[cfg(todo)]
     #[inline]
     fn round(self) -> Self {
         round(self)