bose 0.1.4

A library of mathematical and scientific formulas
Documentation
1
2
3
4
5
6
7
8
9
10
11
//! Perimeter

/// Example
///
/// ```rust
/// let circle = bose::perimeter::circle(10.0);
/// assert_eq!(circle, 62.83185307179586);
/// ```
pub fn circle(radius: f64) -> f64 {
    return 2.0 * std::f64::consts::PI * radius;
}