From a0aae1f08b2111eccb6ce30bc23edbfbc6a28ef7 Mon Sep 17 00:00:00 2001 From: balfourcraig Date: Thu, 9 Jan 2020 09:55:47 +1300 Subject: [PATCH 1/2] Fixed incorrect data type parameter info Math.ScaleB takes a double and an int, but the docs say it takes two floats. Docs changed to reflect method signature --- xml/System/Math.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xml/System/Math.xml b/xml/System/Math.xml index 281ffbd99c2..7dffbd99a31 100644 --- a/xml/System/Math.xml +++ b/xml/System/Math.xml @@ -5345,8 +5345,8 @@ The following example demonstrates how to use the - A single-precision floating-point number that specifies the base value. - A single-precision floating-point number that specifies the power. + A double-precision floating-point number that specifies the base value. + A 32bit integer that specifies the power. Returns x * 2^n computed efficiently. x * 2^n computed efficiently. From c1dc40e29a910a6e179a22994f1c0797f5efa36b Mon Sep 17 00:00:00 2001 From: balfourcraig Date: Thu, 9 Jan 2020 22:03:42 +1300 Subject: [PATCH 2/2] Apply suggestions from code review Co-Authored-By: Maira Wenzel --- xml/System/Math.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xml/System/Math.xml b/xml/System/Math.xml index 7dffbd99a31..d6c4aa65984 100644 --- a/xml/System/Math.xml +++ b/xml/System/Math.xml @@ -5346,7 +5346,7 @@ The following example demonstrates how to use the A double-precision floating-point number that specifies the base value. - A 32bit integer that specifies the power. + A 32-bit integer that specifies the power. Returns x * 2^n computed efficiently. x * 2^n computed efficiently.