xlang v5.1 Release
程序设计语言基础库文档
载入中...
搜索中...
未找到
Math类 参考
Math 的协作图:
Collaboration graph

静态 Public 成员函数

静态 Public 属性

详细描述

Math类 - 提供基本的数学运算常量和函数 该类包含各种数学常量以及用于执行基本数学运算的方法

在文件 Math.x5 行定义.

成员函数说明

◆ abs() [1/4]

static final double abs ( double  )
static

◆ abs() [2/4]

static final float abs ( float  )
static

◆ abs() [3/4]

static final int abs ( int  )
static

◆ abs() [4/4]

static final long abs ( long  )
static

◆ acos()

static final double acos ( double  )
static

◆ asin()

static final double asin ( double  )
static

◆ atan()

static final double atan ( double  )
static

◆ atan2()

static final double atan2 ( double  ,
double   
)
static

◆ cbrt()

static final double cbrt ( double  )
static

◆ ceil()

static final double ceil ( double  )
static

◆ cos()

static final double cos ( double  )
static

◆ cosh()

static final double cosh ( double  )
static

◆ doubleToIntBits()

static final int doubleToIntBits ( double  )
static

◆ doubleToLongBits()

static final long doubleToLongBits ( double  )
static

◆ exp()

static final double exp ( double  )
static

◆ expm1()

static final double expm1 ( double  )
static

◆ floatToIntBits()

static final int floatToIntBits ( float  )
static

被这些函数引用 QwtPlot.insertLegend().

这是这个函数的调用关系图:

◆ floor()

static final double floor ( double  )
static

◆ floorDiv() [1/2]

static final int floorDiv ( int  ,
int   
)
static

◆ floorDiv() [2/2]

static final long floorDiv ( long  ,
long   
)
static

◆ intBitsToDouble()

static final double intBitsToDouble ( int  )
static

◆ intBitsToFloat()

static final float intBitsToFloat ( int  )
static

◆ isINF()

static final bool isINF ( double  )
static

◆ isNan()

static final bool isNan ( double  )
static

◆ log()

static final double log ( double  )
static

◆ log1p()

static final double log1p ( double  )
static

◆ longBitsToDouble()

static final double longBitsToDouble ( long  )
static

◆ max() [1/4]

static final double max ( double  ,
double   
)
static

◆ max() [2/4]

static final float max ( float  ,
float   
)
static

◆ max() [3/4]

static final int max ( int  ,
int   
)
static

被这些函数引用 ProgressView.DrawWaiting(), ProgressView.EnableProgress(), QMatrix.mapRect() , 以及 ProgressView.onDraw().

这是这个函数的调用关系图:

◆ max() [4/4]

static final long max ( long  ,
long   
)
static

◆ min() [1/4]

static final double min ( double  ,
double   
)
static

◆ min() [2/4]

static final float min ( float  ,
float   
)
static

◆ min() [3/4]

static final int min ( int  ,
int   
)
static

被这些函数引用 ProgressView.EnableProgress(), QMatrix.mapRect(), Switche.onDraw() , 以及 ProgressView.onDrawBackground().

这是这个函数的调用关系图:

◆ min() [4/4]

static final long min ( long  ,
long   
)
static

◆ parseDouble()

static final double parseDouble ( String  ) throws IllegalArgumentException
static

◆ parseFloat()

static final float parseFloat ( String  ) throws IllegalArgumentException
static

◆ parseInt()

static final int parseInt ( String  ,
int   
) throws IllegalArgumentException
static

◆ parseLong()

static final long parseLong ( String  ,
int   
) throws IllegalArgumentException
static

◆ pow()

static final double pow ( double  ,
double   
)
static

◆ random()

static final double random ( )
static

◆ round()

static final long round ( double  )
static

◆ sin()

static final double sin ( double  )
static

◆ sinh()

static final double sinh ( double  )
static

◆ sqrt()

static final double sqrt ( double  )
static

◆ tanh()

static final double tanh ( double  )
static

结构体成员变量说明

◆ DOUBLE_EPSILON

const double DOUBLE_EPSILON
static

在文件 Math.x21 行定义.

◆ DOUBLE_MAX

const double DOUBLE_MAX
static

在文件 Math.x20 行定义.

◆ DOUBLE_MIN

const double DOUBLE_MIN
static

在文件 Math.x19 行定义.

◆ E

const double E
static

在文件 Math.x8 行定义.

◆ FLOAT_EPSILON

const float FLOAT_EPSILON
static

在文件 Math.x18 行定义.

◆ FLOAT_MAX

const float FLOAT_MAX
static

在文件 Math.x17 行定义.

◆ FLOAT_MIN

const float FLOAT_MIN
static

在文件 Math.x16 行定义.

◆ INT_MAX

const int INT_MAX
static

在文件 Math.x13 行定义.

◆ INT_MIN

const int INT_MIN
static

在文件 Math.x12 行定义.

◆ LONG_MAX

const long LONG_MAX
static

在文件 Math.x15 行定义.

◆ LONG_MIN

const long LONG_MIN
static

在文件 Math.x14 行定义.

◆ PI

const double PI
static

在文件 Math.x9 行定义.

◆ SHORT_MAX

const int SHORT_MAX
static

在文件 Math.x11 行定义.

◆ SHORT_MIN

const int SHORT_MIN
static

在文件 Math.x10 行定义.