AutoIt+
  • Overview
  • Getting started
  • The language
    • Basic
    • Grammar
      • Expressions
      • Statements
      • Declarations
    • Operators
    • Variables
    • Types & values
      • Null
      • Booleans
      • Numbers
      • Strings
      • Functions
      • Classes
      • Pointers
    • Control flow
      • If statement
      • For loop
      • While loop
      • Break & continue
      • Error handling
    • Collections
      • Array
        • APIs
        • Implementation
      • Map
        • APIs
        • Implementation
    • Modules
    • Exceptions
  • Built-in modules
    • C
      • APIs
      • Constants
    • Math
      • APIs
      • Constants
    • Task
      • Types
      • APIs
    • Global
  • The aup
    • Compiler
    • Runtime
    • Options
Powered by GitBook
On this page
  • .E
  • .LN2
  • .LN10
  • .LOG2E
  • .LOG10E
  • .SQRT2
  • .PI
  • .NAN
  • .INF

Was this helpful?

  1. Built-in modules
  2. Math

Constants

.E

math.E : num

Represents Euler's number, the base of natural logarithms (e), approximately 2.718.

.LN2

math.LN2 : num

Natural logarithm of 2, approximately 0.693.

.LN10

math.LN10 : num

Natural logarithm of 10, approximately 2.303.

.LOG2E

math.LOG2E : num

Base 2 logarithm of E, approximately 1.443.

.LOG10E

math.LOG10E : num

Base 10 logarithm of E, approximately 0.434.

.SQRT2

math.SQRT2 : num

Square root of 2, approximately 1.414.

.PI

math.PI : num

Represent the ratio of the circumference of a circle to its diameter, approximately 3.14159.

.NAN

math.NAN : num

Not a number, equivalent to value of expression 0 / 0.

.INF

math.INF : num

Infinite number, equivalent to value of expression 1 / 0.

PreviousAPIsNextTask

Last updated 3 years ago

Was this helpful?