android StrictMathz中文版.doc

上传人:枫** 文档编号:553528299 上传时间:2023-09-08 格式:DOC 页数:33 大小:722.50KB
返回 下载 相关 举报
android StrictMathz中文版.doc_第1页
第1页 / 共33页
android StrictMathz中文版.doc_第2页
第2页 / 共33页
android StrictMathz中文版.doc_第3页
第3页 / 共33页
android StrictMathz中文版.doc_第4页
第4页 / 共33页
android StrictMathz中文版.doc_第5页
第5页 / 共33页
点击查看更多>>
资源描述

《android StrictMathz中文版.doc》由会员分享,可在线阅读,更多相关《android StrictMathz中文版.doc(33页珍藏版)》请在金锄头文库上搜索。

1、Summary: Constants | Methods | Inherited Methods | Expand All摘要: 常数 | 方法 | 继承的方法 | 展开全部 Since: API Level 1因为: 空气污染水平1 public final class公众最终类 StrictMath StrictMath extends Object扩展对象 java.lang.Object java.lang.Object继承 java.lang.StrictMath java.lang.StrictMath Class Overview类概述 Class StrictMath prov

2、ides basic math constants and operations such as trigonometric functions, hyperbolic functions, exponential, logarithms, etc.数学类StrictMath提供了基本的常量,如三角函数,双曲函数,指数,对数等,以及行动 In contrast to class Math , the methods in this class return exactly the same results on all platforms.相反,类Math ,所有平台的方法的结果在课堂上完全一

3、样的回报。 Algorithms based on these methods thus behave the same (eg regarding numerical convergence) on all platforms, complying with the slogan write once, run everywhere.这些方法的基础算法从而表现在所有平台上相同(例如关于数值收敛)的口号遵守“编写一次,到处运行”。 On the other side, the implementation of class StrictMath may be less efficient th

4、an that of class Math, as class StrictMath cannot utilize platform specific features such as an extended precision math co-processors.在另一边,阶级StrictMath实施可能低于类数学,有效,作为类StrictMath无法使用,如扩展精度数学协处理器平台的特定功能。 The methods in this class are specified using the Freely Distributable Math Library (fdlibm), vers

5、ion 5.3.在这个类的方法是指定使用“免费分发的数学库”(fdlibm),版本5.3。 http:/lib.org/fdlibm/ http:/lib.org/fdlibm/ Summary综述 Constants常数 double双 E The double value closest to e, the base of the natural logarithm.双最接近E的自然对数的底。 double双 PI 有价证券投资 The double value closest to pi, the ratio of a circles circumference to its diame

6、ter.双最接近圆周率,一个圆的周长和直径之比。 Public Methods公共方法 static double 静态双 IEEEremainder (double x, double y) IEEEremainder (双十,双Y) Returns the remainder of dividing x by y using the IEEE 754 rules.返回除以剩余的x的y使用IEEE 754的规则。 static float 静浮 abs (float f) 绝对值 (浮动六) Returns the absolute value of the argument.返回参数的绝对

7、值。 static long 静态长 abs (long l) 绝对值 (长升) Returns the absolute value of the argument.返回参数的绝对值。 static int 静态诠释 abs (int i) 绝对值 (int i)已 Returns the absolute value of the argument.返回参数的绝对值。 static double 静态双 abs (double d) 绝对值 (双D) Returns the absolute value of the argument.返回参数的绝对值。 static double 静态双

8、 acos (double d) 阿科斯 (双D) Returns the closest double approximation of the arc cosine of the argument within the range 0.pi .返回最接近参数近似余弦双圆弧的范围内0.pi 。 static double 静态双 asin (double d) 阿辛 (双D) Returns the closest double approximation of the arc sine of the argument within the range -pi/2.pi/2 .返回最接近参数

9、范围内的近似双圆弧正弦的-pi/2.pi/2 static double 静态双 atan (double d) 的Atan (双D) Returns the closest double approximation of the arc tangent of the argument within the range -pi/2.pi/2 .返回最接近参数范围内的近似双圆弧切线的-pi/2.pi/2 static double 静态双 atan2 (double y, double x) atan2的 (双Y,双X) Returns the closest double approximat

10、ion of the arc tangent of y/x within the range -pi.pi .返回最接近的切线近似双弧y/x范围内-pi.pi static double 静态双 cbrt (double d) cbrt (双D) Returns the closest double approximation of the cube root of the argument.返回最接近的论点立方根双逼近。 static double 静态双 ceil (double d) 性细胞 (双D) Returns the double conversion of the most n

11、egative (closest to negative infinity) integer value which is greater than the argument.返回最消极的双转换(最接近负无穷大)的整数值,比参数大。 static double 静态双 cos (double d) COS的 (双D) Returns the closest double approximation of the cosine of the argument.返回最接近参数的余弦双逼近。 static double 静态双 cosh (double d) 双曲余弦 (双D) Returns th

12、e closest double approximation of the hyperbolic cosine of the argument.返回最接近参数的双曲余弦双逼近。 static double 静态双 exp (double d) 进出口 (双D) Returns the closest double approximation of the raising e to the power of the argument.返回最接近的提高“e”来的论点功率双逼近。 static double 静态双 expm1 (double d) expm1 (双D) Returns the cl

13、osest double approximation of e d - 1 .返回最接近的双重逼近e d - 1 。 static double 静态双 floor (double d) 地板 (双D) Returns the double conversion of the most positive (closest to positive infinity) integer value which is less than the argument.返回最积极的双转换(最接近正无穷)整值,即小于参数。 static double 静态双 hypot (double x, double y

14、) hypot (双十,双Y) Returns sqrt( x 2 + y 2 ) .返回sqrt( x 2 + y 2 ) 。 static double 静态双 log (double d) 日志 (双D) Returns the closest double approximation of the natural logarithm of the argument.返回最接近的自然对数双参数逼近。 static double 静态双 log10 (double d) LOG10的 (双D) Returns the closest double approximation of the base 10 logarithm of the argument.返回最接近该基地的10双参数对数逼近。 static double 静态双 log1p (double d) log1p (双D) Returns the closest double approximation of the natural logarit

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 生活休闲 > 科普知识

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号