Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 58b368f

Browse files
JSorngardtgross35
authored andcommitted
Linebreak to keep lgamma docstrings below 100 columns in width
1 parent 27600fd commit 58b368f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/math/lgamma.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
use super::lgamma_r;
22

3-
/// The natural logarithm of the [Gamma function](https://en.wikipedia.org/wiki/Gamma_function) (f64).
3+
/// The natural logarithm of the
4+
/// [Gamma function](https://en.wikipedia.org/wiki/Gamma_function) (f64).
45
#[cfg_attr(all(test, assert_no_panic), no_panic::no_panic)]
56
pub fn lgamma(x: f64) -> f64 {
67
lgamma_r(x).0

src/math/lgammaf.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
use super::lgammaf_r;
22

3-
/// The natural logarithm of the [Gamma function](https://en.wikipedia.org/wiki/Gamma_function) (f32).
3+
/// The natural logarithm of the
4+
/// [Gamma function](https://en.wikipedia.org/wiki/Gamma_function) (f32).
45
#[cfg_attr(all(test, assert_no_panic), no_panic::no_panic)]
56
pub fn lgammaf(x: f32) -> f32 {
67
lgammaf_r(x).0

0 commit comments

Comments
 (0)