X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmetadata%2Fnumber-ms.c;h=bb6bc6aeaf2746e74984da81074fd89df22509ed;hb=HEAD;hp=629d48af4d4403f2c6efea4a04fd784197574fef;hpb=28f473c41df72b278eaf9784c29c2b8fa2cbe06a;p=mono.git diff --git a/mono/metadata/number-ms.c b/mono/metadata/number-ms.c index 629d48af4d4..bb6bc6aeaf2 100644 --- a/mono/metadata/number-ms.c +++ b/mono/metadata/number-ms.c @@ -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 ++;