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 #3121 from lambdageek/dev/managed-init_message
[mono.git]
/
mono
/
metadata
/
number-ms.c
diff --git
a/mono/metadata/number-ms.c
b/mono/metadata/number-ms.c
index 629d48af4d4403f2c6efea4a04fd784197574fef..48084d143eb540991da6643180b4e23853536676 100644
(file)
--- a/
mono/metadata/number-ms.c
+++ b/
mono/metadata/number-ms.c
@@
-5,6
+5,7
@@
* Ludovic Henry (ludovic@xamarin.com)
*
* Copyright 2015 Xamarin, Inc (http://www.xamarin.com)
* Ludovic Henry (ludovic@xamarin.com)
*
* Copyright 2015 Xamarin, Inc (http://www.xamarin.com)
+ * Licensed under the MIT license. See LICENSE file in the project root for full license information.
*/
//
*/
//
@@
-195,8
+196,6
@@
number_to_double (MonoNumber *number, gdouble *value)
guint16 *src;
gint exp, remaining, total, count, scale, absscale, index;
guint16 *src;
gint exp, remaining, total, count, scale, absscale, index;
- g_assert (number->digits);
-
total = 0;
src = number->digits;
while (*src++) total ++;
total = 0;
src = number->digits;
while (*src++) total ++;