Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 459 Bytes

README.md

File metadata and controls

12 lines (11 loc) · 459 Bytes

asm-lib - inline assembly libraries

asm_math

  • asm_abs(x) - returns absolute value of x
  • asm_mod(x, y) - returns modulo of x divided by y
  • asm_floor(x) - returns integer closest to x
  • asm_sqrt(x) - returns square root of x
  • asm_pow(x, y) - returns x to the power of y
  • asm_sin(x) - returns sine of x
  • asm_cos(x) - returns cosine of x
  • asm_tan(x) - returns tangent of x
  • asm_atan(x) - returns arc tangent of x