std/math: Add test cases for #9901

Closes #9901.
Closes #9902.
149444723fMarc Tiehuis committed on 12/5/2021, 12:02:09 PMparente243983
1 file changedLine totals unavailable