随笔 - 2146  文章 - 19 评论 - 11846 阅读 - 1267万

随笔分类 -  Math 单元

X 的 Y 次方
摘要:var x,y,z: Real;begin x := 2; y := 3; { 使用 Math.Power } z := Math.Power(x, y); ShowMessage(FloatToStr(z)); //8 { 不想 uses Math, 就用 System.Exp、System.Ln } z := Exp(Ln(x) * y); ShowMessage(Float... 阅读全文
posted @ 2009-12-19 09:54 万一 阅读(5224) 评论(1) 推荐(0) 编辑
Math-Function
摘要:Math.ArcCosMath.ArcCoshMath.ArcCotMath.ArcCotHMath.ArcCscMath.ArcCscHMath.ArcSecMath.ArcSecHMath.ArcSinMath.ArcSinhMath.ArcTan2Math.ArcTanhMath.CeilMath.ClearExceptionsMath.CompareValueMath.CosecantMa... 阅读全文
posted @ 2009-05-20 06:48 万一 编辑
Delphi 中的 IfThen 函数 - 回复 "深挖洞、广积粮" 的问题
摘要:问题来源: http://www.cnblogs.com/del/archive/2008/11/14/1120015.html#1370413 StrUtils 单元和 Math 单元 分别有一个 IfThen 函数, 举例: unit Unit1; interface uses Windows, Messages, SysUtils, Variants, Classes, Grap... 阅读全文
posted @ 2008-11-14 15:23 万一 阅读(9813) 评论(4) 推荐(0) 编辑
Math 单元下的公用函数目录
摘要:有简单提示的链接有效. 过程或函数名 分类 简单提示 ArcCos ArcCosh ArcCot ArcCotH ArcCsc ArcCscH ArcSec ArcSecH ArcSin ArcSinh ArcTan2 ArcTanh Ceil ClearExceptions CompareValue Cosecant Cosh Cot Cotan CotH Csc CscH ... 阅读全文
posted @ 2008-03-24 17:25 万一 阅读(4654) 评论(2) 推荐(0) 编辑



点击右上角即可分享
微信分享提示