?? sin.3m
字號(hào):
.\" SCCSID: @(#)sin.3m 6.2 8/30/89.TH sin 3m VAX.SH Namesin, cos, tan, asin, acos, atan, atan2 \- trigonometric functions.SH Syntax.nf.B #include <math.h>.PP.B double sin(\fIx\fP).B double \fIx\fP;.PP.B double cos(\fIx\fP).B double \fIx\fP;.PP.B double tan(\fIx\fP).B double \fIx\fP;.PP.B double asin(\fIx\fP).B double \fIx\fP;.PP.B double acos(\fIx\fP).B double \fIx\fP;.PP.B double atan(\fIx\fP).B double \fIx\fP;.PP.B double atan2(\fIx,y\fP).B double \fIx,y\fP;.fi.SH Description.NXR "sin subroutine (math)".NXR "cos subroutine (math)".NXR "tan subroutine (math)".NXR "asin subroutine (math)".NXR "acos subroutine (math)".NXR "atan subroutine (math)".NXR "atan2 subroutine (math)".NXR "sine function".NXR "cosine function".NXR "arccosine function".NXR "arcsine function".NXR "arctangent function"The subroutines.PN sin ,.PN cosand.PN tan ,return trigonometric functions of radian arguments.The magnitude of the argument should be checkedby the caller to make sure the result is meaningful..PPThe .PN asinsubroutine returns the arc sin in the range \-\(*p/2 to \(*p/2..PPThe .PN acossubroutine returns the arc cosine in the range 0 to \(*p..PPThe .PN atansubroutine returns the arc tangent of.I xin the range \-\(*p/2 to \(*p/2..PPThe .PN atan2subroutine returns the arc tangent of.I x/yin the range \-\(*p to \(*p..SH Restrictions.NXR "sin subroutine (math)" "restrictions"The value of.PN tanfor arguments greater than about 2**31 is unreliable..SH Return Values.NXR "sin subroutine (math)" "return value"Arguments of magnitude greater than 1 cause.PN asinand.PN acosto return zero and set.I errnoto EDOM..PPThe.PN atan2function returns zero and sets.I errnoto EDOMwhen.I xand.I yare both zero..SH Environment.NXR "sin subroutine (math)" "System V and"When your program is compiled using the System V environment,.PN sin ,.PN cosand.PN tanlose accuracy when their argument is far from zero.For arguments sufficiently large, these functions return 0when there would otherwise be a complete loss of significance.In this case a message indicating TLOSS error is printedon the standard error output. For less extreme arguments, aPLOSS error is generated but no message is printed. In both cases, \fIerrno\fP is set to ERANGE..PPThe.PN tansubroutine returns HUGE foran argument which is near an odd multiple of \(*p/2 when the correct value would overflow, and sets .I errnoto ERANGE..PPArguments of magnitude greater than 1.0 cause.PN asinand .PN acos to return 0 and to set .I errnoto EDOM. In addition, a message indicating DOMAINerror is printed on the standard error output..PPThese error-handling procedures may be changed with the function.MS matherr 3m .
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -