Exponential
import { Exponential } from "https://raw.githubusercontent.com/JOTSR/Denum/master/mod.ts";§Extends
§Constructors
§Properties
§Methods
Return a new Exponential object with the same base and exponent but with a positive sign
Absolute value of the exponential
If the sign is different, the one with the negative sign is lesser. If the sign is the same, the one with the lesser base or exponent is lesser else is equal
- Exponential
The result of the comparison between the two numbers.
"Divide this exponential by the given exponentials." The function then returns the result of multiplying this exponential by the inverses of the given exponentials
- Exponential[]
The result of the division of the exponentials.
The inverse of an exponential (the same exponential with the opposite of the exponent)
The opposite of the exponent.
Returns true if the number is greater than or equal to the minimum and less than or equal to the maximum.
- The minimum value of the range.
- Exponential
A boolean value
It compares two numbers and returns true if they are equal.
- Exponential
A boolean value.
If the exponent is an integer and the base is even, or if the float value of the exponent is even, then return true.
a boolean value.
If the compared value is greater than the current value, return true, otherwise return false.
- The number to compare to.
The comparison of the two numbers.
If the exponent and base are integers, or if the base^exponent result is an integer, then return true
The result of the exponentiation of the base and exponent.
Returns true if the current number is lesser than the compared number, or if the numbers are equal and ifEqual is true.
- The number to compare to.
A boolean value.
If all the exponents are the same, multiply the bases and keep the exponent. If all the bases are the same, add the exponents and keep the base
- Exponential[]
A new Exponential object
The opposite of an exponential is the same exponential with the opposite sign.
A new Exponential object with the same base and exponent, but with the opposite sign.
It returns a new Exponential object with the same base and an exponent that is the product of the current exponent and the exponents passed in.
- Frac[]
An Exponential object.
Convert the number to a float32 point number with the specified number of decimal places."
The function takes one parameter, decimals, which is a BigInt. The function returns a Number
- The number of decimal places to round to.
The value of the number.
returns a string that represents the object in JSON format
A string that represents the object.
Return the LaTeX string corresponding to the value
The latex representation of the expression.
The function returns an evaluable string representation of the object
The string representation of the object.