delphi中有下面的函数吗?sin cos tan 等等。 正弦 余弦 等函数。 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 Cos(); Sin();uses Math;{ Trigonometric functions }function ArcCos(const X: Extended): Extended; { IN: |X| <= 1 OUT: [0..PI] radians }function ArcSin(const X: Extended): Extended; { IN: |X| <= 1 OUT: [-PI/2..PI/2] radians }{ ArcTan2 calculates ArcTan(Y/X), and returns an angle in the correct quadrant. IN: |Y| < 2^64, |X| < 2^64, X <> 0 OUT: [-PI..PI] radians }function ArcTan2(const Y, X: Extended): Extended;{ SinCos is 2x faster than calling Sin and Cos separately for the same angle }procedure SinCos(const Theta: Extended; var Sin, Cos: Extended) register;function Tan(const X: Extended): Extended;function Cotan(const X: Extended): Extended; { 1 / tan(X), X <> 0 }function Secant(const X: Extended): Extended; { 1 / cos(X) }function Cosecant(const X: Extended): Extended; { 1 / sin(X) }function Hypot(const X, Y: Extended): Extended; { Sqrt(X**2 + Y**2) }{ Hyperbolic functions and inverses }function Cot(const X: Extended): Extended; { simply calls Cotan }function Sec(const X: Extended): Extended; { simply calls Secant }function Csc(const X: Extended): Extended; { simply calls Cosecant }function Cosh(const X: Extended): Extended;function Sinh(const X: Extended): Extended;function Tanh(const X: Extended): Extended;function CotH(const X: Extended): Extended;function SecH(const X: Extended): Extended;function CscH(const X: Extended): Extended;function ArcCot(const X: Extended): Extended;function ArcSec(const X: Extended): Extended;function ArcCsc(const X: Extended): Extended;function ArcCosh(const X: Extended): Extended; { IN: X >= 1 }function ArcSinh(const X: Extended): Extended;function ArcTanh(const X: Extended): Extended; { IN: |X| <= 1 }function ArcCotH(const X: Extended): Extended;function ArcSecH(const X: Extended): Extended;function ArcCscH(const X: Extended): Extended;.... 看下结贴率 关于windows ★送分帖,请 dabaicai、xianggang101、xiaokexinger三位朋友进入★ 求职:软件开发(delphi) 急!100分请教fastreport的一个很简单的问题(但我不会:),解决后马上给分,分不够可在加 如何将一个表(如database.db)中的一个值赋到一个变量中? 动态链接库实现查找功能的一个问题,在线等,谢谢! 原创:原子钟对时器1.0 与internet原子钟校对计算机时间。 这个查询如何写? 老鱼,老鱼,偶还有个关于窗体关闭后确认的问题 大家帮忙推荐一下条形码扫描枪和IC读写卡器好吗? 关于Adoquery的插入数据的问题
Sin();uses Math;{ Trigonometric functions }
function ArcCos(const X: Extended): Extended; { IN: |X| <= 1 OUT: [0..PI] radians }
function ArcSin(const X: Extended): Extended; { IN: |X| <= 1 OUT: [-PI/2..PI/2] radians }{ ArcTan2 calculates ArcTan(Y/X), and returns an angle in the correct quadrant.
IN: |Y| < 2^64, |X| < 2^64, X <> 0 OUT: [-PI..PI] radians }
function ArcTan2(const Y, X: Extended): Extended;{ SinCos is 2x faster than calling Sin and Cos separately for the same angle }
procedure SinCos(const Theta: Extended; var Sin, Cos: Extended) register;
function Tan(const X: Extended): Extended;
function Cotan(const X: Extended): Extended; { 1 / tan(X), X <> 0 }
function Secant(const X: Extended): Extended; { 1 / cos(X) }
function Cosecant(const X: Extended): Extended; { 1 / sin(X) }
function Hypot(const X, Y: Extended): Extended; { Sqrt(X**2 + Y**2) }{ Hyperbolic functions and inverses }
function Cot(const X: Extended): Extended; { simply calls Cotan }
function Sec(const X: Extended): Extended; { simply calls Secant }
function Csc(const X: Extended): Extended; { simply calls Cosecant }
function Cosh(const X: Extended): Extended;
function Sinh(const X: Extended): Extended;
function Tanh(const X: Extended): Extended;
function CotH(const X: Extended): Extended;
function SecH(const X: Extended): Extended;
function CscH(const X: Extended): Extended;
function ArcCot(const X: Extended): Extended;
function ArcSec(const X: Extended): Extended;
function ArcCsc(const X: Extended): Extended;
function ArcCosh(const X: Extended): Extended; { IN: X >= 1 }
function ArcSinh(const X: Extended): Extended;
function ArcTanh(const X: Extended): Extended; { IN: |X| <= 1 }
function ArcCotH(const X: Extended): Extended;
function ArcSecH(const X: Extended): Extended;
function ArcCscH(const X: Extended): Extended;
....