Skip to content

Commit f9f234f

Browse files
bors[bot]porglezomp
andcommitted
91: Implement exp2 and exp2f r=japaric a=porglezomp Closes rust-lang#15 Closes rust-lang#16 Co-authored-by: C Jones <[email protected]>
2 parents bbafea5 + b105550 commit f9f234f

File tree

5 files changed

+519
-6
lines changed

5 files changed

+519
-6
lines changed

src/lib.rs

-4
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ pub trait F32Ext: private::Sealed {
7070

7171
fn exp(self) -> Self;
7272

73-
#[cfg(todo)]
7473
fn exp2(self) -> Self;
7574

7675
fn ln(self) -> Self;
@@ -214,7 +213,6 @@ impl F32Ext for f32 {
214213
expf(self)
215214
}
216215

217-
#[cfg(todo)]
218216
#[inline]
219217
fn exp2(self) -> Self {
220218
exp2f(self)
@@ -387,7 +385,6 @@ pub trait F64Ext: private::Sealed {
387385

388386
fn exp(self) -> Self;
389387

390-
#[cfg(todo)]
391388
fn exp2(self) -> Self;
392389

393390
fn ln(self) -> Self;
@@ -531,7 +528,6 @@ impl F64Ext for f64 {
531528
exp(self)
532529
}
533530

534-
#[cfg(todo)]
535531
#[inline]
536532
fn exp2(self) -> Self {
537533
exp2(self)

0 commit comments

Comments
 (0)