Lolka

Lolka


@MathCalcBot can calculate any math expression. Type 2 + 2 and send to bot.

Bot can work at inline-mode, too! Type at any chat @MathCalcBot and calc on the fly!

Samples:

  • 2 + 2 = 4 (Add)
  • 5 - 3 = 2 (Subtract)
  • 4 * 4 = 16 (Multiply)
  • 9 / 3 = 3 (Divide)
  • (2 + 3) * 4 = 20 (Grouping)
  • max(2, 1, 5) = 5 (Parameter separator, min, etc)
  • 8 % 3 = 2 (Modulus)
  • 2 ^ 3 = 8 (Power)
  • 5! = 120 (Factorial)
  • 5 & 3 = 1 (Bitwise and)
  • ~2 = -3 (Bitwise not)
  • 5 | 3 = 7 (Bitwise or)
  • 5 ^| 2 = 7 (Bitwise xor)
  • 4 << 1 = 8 (Left shift)
  • 8 >> 1 = 4 (Right arithmetic shift)
  • -8 >>> 1 = 2147483644 (Right logical shift)
  • true and false = 0 (Logical and)
  • not true = 0 (Logical not)
  • true or false = 1 (Logical or)
  • true xor true = 0 (Logical xor)
  • 15 > 100 ? 1 : -1 = -1 (Conditional expression)
  • 2 == 4 - 2 = 1 (Equal)
  • 2 != 3 = 1 (Unequal)
  • 2 < 3 = 1 (Smaller)
  • 2 > 3 = 0 (Larger)
  • 4 <= 3 = 0 (Smallereq)
  • 2 + 4 >= 6 = 1 (Largereq)
  • e = 2.7183 (Euler’s number)
  • LN2 = 0.6931 (Natural logarithm of 2)
  • LN10 = 2.3026 (Natural logarithm of 10)
  • LOG2E = 1.4427 (Base-2 logarithm of E)
  • LOG10E = 0.4343 (Base-10 logarithm of E)
  • phi = 1.618 (Phi is the golden ratio. Defined as (1 + sqrt(5)) / 2)
  • pi = 3.1416 (Mathematical constant of a circle's circumference)
  • SQRT1_2 = 0.7071 (Square root of 1/2)
  • SQRT2 = 1.4142 (Square root of 2)
  • tau = 6.2832 (Tau equal to 2 * pi)
  • sqrt(3^2 + 4^2) = 5
  • cos(45 deg) = 0.7071

Please, rate ⭐️⭐️⭐️⭐️⭐️ the bot 🤖!

Report Page