Small Basic: Parameter or Return Value Range for Math Function

Small Basic: Parameter or Return Value Range for Math Function


Overview


This article describes the ranges of parameters or return values for Small Basic Math functions.  This article is work in progress.  So "N/A" means that the range is not investigated yet.  Please edit this article if you know any range information about Math functions in Small Basic.

Math Functions


+

number1 + number2

Range

number1 + number2 ≦ 79228162514264337593543950335


Sample Program

JFW812


-


number1 - number2

Range

N/A


*


number1 * number2

Range

N/A


/


number1 / number2

Range

number1 ≧ 0.0000000000000000000000000001 while number2 = 10

Sample Program

GRS792


Abs


Math.Abs(number)

Range

N/A


ArcCos


Math.ArcCos(cosValue)

Range

N/A


ArcSin


Math.ArcSin(sinValue)

Range

N/A


ArcTan


Math.ArcTan(tanValue)

Range

N/A


Ceilinig


Math.Ceiling(number)

Range

N/A


Cos


Math.Cos(angle)

Range

N/A


Floor


Math.Floor(number)

Range

N/A


GetDegrees


Math.GetDegrees(angle)

Range

N/A


GetRadians


Math.GetRadians(angle)

Range

N/A


GetRandomNumber


Math.GetRandomNumber(maxNumber)

Range

N/A


Log


Math.Log(number)

Range

N/A


Max


Math.Max(number1, number2)

Range

N/A


Min


Math.Min(number1, number2)

Range

N/A


NaturalLog


Math.NaturalLog(number)

Range

N/A


Power


Math.Power(baseNumber, exponent)

Range

baseNumber ≦ 31622776 while exponent = 2

exponent ≦ 49 while baseNumber = 2

Sample Program

FFW588 for Math.Power(31622776, 2)

Remainder

Math.Remainder(dividend, divisor)

Range

Math.Remainder(9007199254740992, 2)



Round


Math.Round(number)

Range

N/A


Sin


Math.Sin(angle)

Range

N/A


SquareRoot


Math.SquareRoot(number)

Range

number ≦ 19807040628566084398385987584


Tan


Math.Tan(angle)

Range

N/A


See Also


Number ranges on Math functions - Small Basic (Small Basic Forum)
Smallest & largest Numbers that sb can handle (Small Basic Forum)

Leave a Comment
  • Please add 2 and 4 and type the answer here:
  • Post
Wiki - Revision Comment List(Revision Comment)
Sort by: Published Date | Most Recent | Most Useful
Comments
Page 1 of 1 (1 items)
Wikis - Comment List
Sort by: Published Date | Most Recent | Most Useful
Posting comments is temporarily disabled until 10:00am PST on Saturday, December 14th. Thank you for your patience.
Comments
  • Nonki Takahashi edited Revision 7. Comment: Created

Page 1 of 1 (1 items)