View source code
							
							
						
								Display the source code in std/math/remainder.d from which this
								page was generated on github.
							
						
							Report a bug
							
						
								If you spot a problem with this page, click here to create a
								Bugzilla issue.
							
						
							
								Improve this page
							
							
					
								Quickly fork, edit online, and submit a pull request for this page.
								Requires a signed-in GitHub account. This works well for small changes.
								If you'd like to make larger changes you may want to consider using
								local clone.
							
						Module std.math.remainder
This is a submodule of std.
It contains several versions of remainder calculation.
Functions
| Name | Description | 
|---|---|
								
									fmod(x, y)
								
							 | 
							Calculates the remainder from the calculation x/y. | 
								
									modf(x, i)
								
							 | 
							Breaks x into an integral part and a fractional part, each of which has the same sign as x. The integral part is stored in i. | 
								
									remainder(x, y)
								
							 | 
							Calculate the remainder x REM y, following IEC 60559. | 
								
									remquo(x, y, n)
								
							 | 
							Calculate the remainder x REM y, following IEC 60559. | 
Authors
Walter Bright, Don Clugston, Conversion of CEPHES math library to D by Iain Buclaw and David Nadlinger
License
					Copyright © 1999-2024 by the D Language Foundation | Page generated by ddox.