Skip to content

Commit 708f7b9

Browse files
committed
core: Export floor functions
1 parent 9b01620 commit 708f7b9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/libcore/f32.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export is_zero, is_infinite, is_finite;
1313
export NaN, is_NaN, infinity, neg_infinity;
1414
export consts;
1515
export logarithm;
16-
export acos, asin, atan, atan2, cbrt, ceil, copysign, cos, cosh;
16+
export acos, asin, atan, atan2, cbrt, ceil, copysign, cos, cosh, floor;
1717
export erf, erfc, exp, expm1, exp2, abs, abs_sub;
1818
export mul_add, fmax, fmin, nextafter, frexp, hypot, ldexp;
1919
export lgamma, ln, log_radix, ln1p, log10, log2, ilog_radix;

src/libcore/f64.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export is_zero, is_infinite, is_finite;
1313
export NaN, is_NaN, infinity, neg_infinity;
1414
export consts;
1515
export logarithm;
16-
export acos, asin, atan, atan2, cbrt, ceil, copysign, cos, cosh;
16+
export acos, asin, atan, atan2, cbrt, ceil, copysign, cos, cosh, floor;
1717
export erf, erfc, exp, expm1, exp2, abs, abs_sub;
1818
export mul_add, fmax, fmin, nextafter, frexp, hypot, ldexp;
1919
export lgamma, ln, log_radix, ln1p, log10, log2, ilog_radix;

src/libcore/float.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export is_zero, is_infinite, is_finite;
1111
export NaN, is_NaN, infinity, neg_infinity;
1212
export consts;
1313
export logarithm;
14-
export acos, asin, atan, atan2, cbrt, ceil, copysign, cos, cosh;
14+
export acos, asin, atan, atan2, cbrt, ceil, copysign, cos, cosh, floor;
1515
export erf, erfc, exp, expm1, exp2, abs, abs_sub;
1616
export mul_add, fmax, fmin, nextafter, frexp, hypot, ldexp;
1717
export lgamma, ln, log_radix, ln1p, log10, log2, ilog_radix;

0 commit comments

Comments
 (0)