Name
asin()
Synopsis
float asin ( float num
)
The asin()
function calculates the arc sine value of the number provided as its only parameter, essentially reversing the operation of sine()
. The return value is in radiansâyou should use the rad2deg()
to convert radians to degrees.
$asin1 = asin(0.4346); $asin2 = asin(sin(80));
Get PHP in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.