Sei sulla pagina 1di 2

1

MATH EXPRESSIONS IN CONVERTER PLUS


This document is about using math expression editor in Converter Plus app for Mac.

OVERVIEW
Math expression should be written in programming style. An expression may include: numbers, operators, parentheses and named functions or constants. Examples of valid expressions: (123 45)^6 + 7 4 * sin(pi/3) + 3 * cos(pi/6) 0101010101010101b & 0F0Fh

NUMBER FORMATS
Decimal number format: [-][digits][.digits][e[-]digits] Examples: -10.25 .25 2e-15 -123.456e78

2011 TranCreative LLC. All rights reserved.

Integer number format: [0]digits[radix signature] Radix signatures: h = Hex, b = Bin, o = Oct Examples: 123 (decimal) 0AF56h (hexadecimal) 010110110b (binary) 765231o (octal)

SUPPORTED OPERATORS AND FUNCTIONS


Operators: + * / ^ \ ! & | # ~ Functions: abs(x) round(x) rand sqrt(n) e lg(x) pi sin(x) cos(x) tan(x) asin(x) acos(x) atan(x) sinh(x) cosh(x) tanh(x) Return absolute of x Return round of x Return a random number between 0 and 1. Square root of n Return value of e constant (Euler's number) Return decimal logarithm n of x Return value of pi constant Return sine of x Return cosine of x Return tangent of x Return arc sine of x Return arc cosine of x Return arc tangent of x Return sine hyperbolic of x Return cosine hyperbolic of x Return tangent hyperbolic of x Addition Subtraction Multiplication Division Power Modulation Factory Bit wise AND Bit wise OR Bit wise XOR Bit wise NOT

2011 TranCreative LLC. All rights reserved.

Potrebbero piacerti anche