Skip to content

Commit 7813277

Browse files
committed
Added a https link in the inline docs of test_exp() referring to the webpage from which the test values were taken.
1 parent e650b31 commit 7813277

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1808,6 +1808,7 @@ mod test {
18081808
));
18091809
}
18101810

1811+
// The test values below were taken from https://en.cppreference.com/w/cpp/numeric/complex/exp
18111812
assert!(close_naninf(_1_infi.exp(), _nan_nani));
18121813
assert!(close_naninf(_neg1_infi.exp(), _nan_nani));
18131814
assert!(close_naninf(_1_nani.exp(), _nan_nani));

0 commit comments

Comments
 (0)