From 24b151a48ce7909cfddadc7e59cd6e02cd2edbb7 Mon Sep 17 00:00:00 2001 From: Will Vincent Date: Sun, 15 Apr 2018 11:40:31 -0500 Subject: [PATCH] Remove incorrect & potentially confusing references to Euler MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit e is referred to as Euler’s number, so technically the MATH_EXP description in VisualScript doc was not incorrect, though could potentially lead to confusion. e is different from Euler’s constant however, making the existing GDScript exp & VisualScriptMathConstant descriptions nvalid. --- doc_classes/VisualScriptBuiltinFunc.xml | 2 +- doc_classes/VisualScriptMathConstant.xml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc_classes/VisualScriptBuiltinFunc.xml b/doc_classes/VisualScriptBuiltinFunc.xml index 0929b22..399ba8e 100644 --- a/doc_classes/VisualScriptBuiltinFunc.xml +++ b/doc_classes/VisualScriptBuiltinFunc.xml @@ -80,7 +80,7 @@ Return the natural logarithm of the input. Note that this is not the typical base-10 logarithm function calculators use. - Return [b]e[/b] raised to the power of the input. [b]e[/b] sometimes called "Euler's number" is a mathematical constant whose value is approximately 2.71828. + Return the mathematical constant [b]e[/b] raised to the specified power of the input. [b]e[/b] has an approximate value of 2.71828. Return whether the input is NaN (Not a Number) or not. NaN is usually produced by dividing 0 by 0, though other ways exist. diff --git a/doc_classes/VisualScriptMathConstant.xml b/doc_classes/VisualScriptMathConstant.xml index df439f8..d456e88 100644 --- a/doc_classes/VisualScriptMathConstant.xml +++ b/doc_classes/VisualScriptMathConstant.xml @@ -4,7 +4,7 @@ Commonly used mathematical constants. - Provides common math constants, such as Pi or Euler's constant, on an output Data port. + Provides common math constants, such as Pi, on an output Data port. [b]Input Ports:[/b] none [b]Output Ports:[/b] @@ -35,7 +35,7 @@ Tau: [code]6.283185[/code] - Natural log: [code]2.718282[/code] + Mathematical constant [code]e[/code], the natural log base: [code]2.718282[/code] Square root of two: [code]1.414214[/code]