aboutsummaryrefslogtreecommitdiffstats
path: root/numeric.c
diff options
context:
space:
mode:
Diffstat (limited to 'numeric.c')
-rw-r--r--numeric.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/numeric.c b/numeric.c
index b118d84d92..7371236426 100644
--- a/numeric.c
+++ b/numeric.c
@@ -843,7 +843,9 @@ flodivmod(double x, double y, double *divp, double *modp)
* An error will be raised if y == 0.
*/
-double ruby_float_mod(double x, double y) {
+double
+ruby_float_mod(double x, double y)
+{
double mod;
flodivmod(x, y, 0, &mod);
return mod;