mirror of
https://github.com/dlang/phobos.git
synced 2025-04-30 15:10:46 +03:00
Fix broken link in minElement doc
This commit is contained in:
parent
b3978d0a2f
commit
b6a9cd8c64
1 changed files with 1 additions and 1 deletions
|
@ -3577,7 +3577,7 @@ Note:
|
||||||
---
|
---
|
||||||
|
|
||||||
If you want to get NaN as a result if a NaN is present in the range,
|
If you want to get NaN as a result if a NaN is present in the range,
|
||||||
you can use $(REF fold, std.algorithm,iteration) and $(REF isNaN, std,math):
|
you can use $(REF fold, std,algorithm,iteration) and $(REF isNaN, std,math):
|
||||||
|
|
||||||
---
|
---
|
||||||
<range>.fold!((a,b)=>a.isNaN || b.isNaN ? real.nan : a < b ? a : b);
|
<range>.fold!((a,b)=>a.isNaN || b.isNaN ? real.nan : a < b ? a : b);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue