Merge pull request #5714 from alexischr/update_bockbuild
[mono.git] / mono / metadata / number-ms.c
index 629d48af4d4403f2c6efea4a04fd784197574fef..bb6bc6aeaf2746e74984da81074fd89df22509ed 100644 (file)
@@ -1,10 +1,12 @@
-/*
- * number-ms.c: System.Double, System.Single and System.Number runtime support
+/**
+ * \file
+ * System.Double, System.Single and System.Number runtime support
  *
  * Author:
  *     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 +197,6 @@ number_to_double (MonoNumber *number, gdouble *value)
        guint16 *src;
        gint exp, remaining, total, count, scale, absscale, index;
 
-       g_assert (number->digits);
-
        total = 0;
        src = number->digits;
        while (*src++) total ++;