projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #993 from ancailliau/fix-datacontract-json-serialization
[mono.git]
/
mono
/
metadata
/
sysmath.c
diff --git
a/mono/metadata/sysmath.c
b/mono/metadata/sysmath.c
index d354c4d0cced1b6a82961e0078b0f1886057b3a4..c5943b44cc908340346131c61e31c353e1a2b190 100644
(file)
--- a/
mono/metadata/sysmath.c
+++ b/
mono/metadata/sysmath.c
@@
-66,8
+66,6
@@
gdouble ves_icall_System_Math_Round2 (gdouble value, gint32 digits, gboolean awa
return HUGE_VAL;
if (value == -HUGE_VAL)
return -HUGE_VAL;
- if (digits == 0)
- return ves_icall_System_Math_Round(value);
p = pow(10, digits);
#if defined (HAVE_ROUND) && defined (HAVE_RINT)
if (away_from_zero)