# [−][src]Trait libm::F64Ext

    pub trait F64Ext: Sealed + Sized {
        fn floor(self) -> Self;
        fn ceil(self) -> Self;
        fn round(self) -> Self;
        fn trunc(self) -> Self;
        fn fdim(self, rhs: Self) -> Self;
        fn fract(self) -> Self;
        fn abs(self) -> Self;
        fn mul_add(self, a: Self, b: Self) -> Self;
        fn div_euc(self, rhs: Self) -> Self;
        fn mod_euc(self, rhs: Self) -> Self;
        fn powf(self, n: Self) -> Self;
        fn sqrt(self) -> Self;
        fn exp(self) -> Self;
        fn exp2(self) -> Self;
        fn ln(self) -> Self;
        fn log(self, base: Self) -> Self;
        fn log2(self) -> Self;
        fn log10(self) -> Self;
        fn cbrt(self) -> Self;
        fn hypot(self, other: Self) -> Self;
        fn sin(self) -> Self;
        fn cos(self) -> Self;
        fn tan(self) -> Self;
        fn asin(self) -> Self;
        fn acos(self) -> Self;
        fn atan(self) -> Self;
        fn atan2(self, other: Self) -> Self;
        fn sin_cos(self) -> (Self, Self);
        fn exp_m1(self) -> Self;
        fn ln_1p(self) -> Self;
        fn sinh(self) -> Self;
        fn cosh(self) -> Self;
        fn tanh(self) -> Self;
        fn asinh(self) -> Self;
        fn acosh(self) -> Self;
        fn atanh(self) -> Self;
        fn min(self, other: Self) -> Self;
        fn max(self, other: Self) -> Self;
    }

Math support for `f64`

This trait is sealed and cannot be implemented outside of `libm`.

## Required methods

### `fn floor(self) -> Self`

### `fn ceil(self) -> Self`

### `fn round(self) -> Self`

### `fn trunc(self) -> Self`

### `fn fdim(self, rhs: Self) -> Self`

### `fn fract(self) -> Self`

### `fn abs(self) -> Self`

### `fn mul_add(self, a: Self, b: Self) -> Self`

### `fn div_euc(self, rhs: Self) -> Self`

### `fn mod_euc(self, rhs: Self) -> Self`

### `fn powf(self, n: Self) -> Self`

### `fn sqrt(self) -> Self`

### `fn exp(self) -> Self`

### `fn exp2(self) -> Self`

### `fn ln(self) -> Self`

### `fn log(self, base: Self) -> Self`

### `fn log2(self) -> Self`

### `fn log10(self) -> Self`

### `fn cbrt(self) -> Self`

### `fn hypot(self, other: Self) -> Self`

### `fn sin(self) -> Self`

### `fn cos(self) -> Self`

### `fn tan(self) -> Self`

### `fn asin(self) -> Self`

### `fn acos(self) -> Self`

### `fn atan(self) -> Self`

### `fn atan2(self, other: Self) -> Self`

### `fn sin_cos(self) -> (Self, Self)`

### `fn exp_m1(self) -> Self`

### `fn ln_1p(self) -> Self`

### `fn sinh(self) -> Self`

### `fn cosh(self) -> Self`

### `fn tanh(self) -> Self`

### `fn asinh(self) -> Self`

### `fn acosh(self) -> Self`

### `fn atanh(self) -> Self`

### `fn min(self, other: Self) -> Self`

### `fn max(self, other: Self) -> Self`

Loading content...

## Implementors

### `impl F64Ext for f64`[src]

#### `fn floor(self) -> Self`[src]

#### `fn ceil(self) -> Self`[src]

#### `fn round(self) -> Self`[src]

#### `fn trunc(self) -> Self`[src]

#### `fn fdim(self, rhs: Self) -> Self`[src]

#### `fn fract(self) -> Self`[src]

#### `fn abs(self) -> Self`[src]

#### `fn mul_add(self, a: Self, b: Self) -> Self`[src]

#### `fn div_euc(self, rhs: Self) -> Self`[src]

#### `fn mod_euc(self, rhs: f64) -> f64`[src]

#### `fn powf(self, n: Self) -> Self`[src]

#### `fn sqrt(self) -> Self`[src]

#### `fn exp(self) -> Self`[src]

#### `fn exp2(self) -> Self`[src]

#### `fn ln(self) -> Self`[src]

#### `fn log(self, base: Self) -> Self`[src]

#### `fn log2(self) -> Self`[src]

#### `fn log10(self) -> Self`[src]

#### `fn cbrt(self) -> Self`[src]

#### `fn hypot(self, other: Self) -> Self`[src]

#### `fn sin(self) -> Self`[src]

#### `fn cos(self) -> Self`[src]

#### `fn tan(self) -> Self`[src]

#### `fn asin(self) -> Self`[src]

#### `fn acos(self) -> Self`[src]

#### `fn atan(self) -> Self`[src]

#### `fn atan2(self, other: Self) -> Self`[src]

#### `fn sin_cos(self) -> (Self, Self)`[src]

#### `fn exp_m1(self) -> Self`[src]

#### `fn ln_1p(self) -> Self`[src]

#### `fn sinh(self) -> Self`[src]

#### `fn cosh(self) -> Self`[src]

#### `fn tanh(self) -> Self`[src]

#### `fn asinh(self) -> Self`[src]

#### `fn acosh(self) -> Self`[src]

#### `fn atanh(self) -> Self`[src]

#### `fn min(self, other: Self) -> Self`[src]

#### `fn max(self, other: Self) -> Self`[src]

Loading content...

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g., `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g., `vec -> usize` or `* -> vec`)

Search multiple things at once by splitting your query with comma (e.g., `str,u8` or `String,struct:Vec,test`)