mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
math: doc
R=r DELTA=173 (74 added, 14 deleted, 85 changed) OCL=25753 CL=25767
This commit is contained in:
parent
83de0698d6
commit
dfc3910afa
18 changed files with 170 additions and 110 deletions
|
|
@ -10,6 +10,7 @@ import "math"
|
|||
* floating-point mod func without infinity or NaN checking
|
||||
*/
|
||||
|
||||
// Fmod returns the floating-point remainder of x/y.
|
||||
func Fmod(x, y float64) float64 {
|
||||
if y == 0 {
|
||||
return x;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue