• API(eca&lua)
  • Lua
  • API
  • Xdouble

XDouble

abs

(method) XDouble:abs()
  -> XDouble

取绝对值

acos

(method) XDouble:acos()
  -> XDouble

反余弦(角度制)

asin

(method) XDouble:asin()
  -> XDouble

反正弦(弧度制)

atan

(method) XDouble:atan()
  -> XDouble

反正切(弧度制)

ceil

(method) XDouble:ceil()
  -> XDouble

向上取整

cos

(method) XDouble:cos()
  -> XDouble

余弦(弧度制)

exp

(method) XDouble:exp()
  -> XDouble

自然对数

float

(method) XDouble:float()
  -> number

floor

(method) XDouble:floor()
  -> XDouble

向下取整

int

(method) XDouble:int()
  -> integer

会取整

log

(method) XDouble:log()
  -> XDouble

取对数

round

(method) XDouble:round()
  -> XDouble

四舍五入

sin

(method) XDouble:sin()
  -> XDouble

正弦(弧度制)

sqrt

(method) XDouble:sqrt()
  -> XDouble

开方

tan

(method) XDouble:tan()
  -> XDouble

正切(弧度制)