English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
This method returns the arcsine value of the specified value.
asin(X)
X-Specify a value for the arcsine function.
The return value is a floating-point value representing the arcsine.
-module(helloworld). -import(math,[asin/1]). -export([start/0]). start() -> Asin = asin(0.7071), io:fwrite("~p~n",[Asin]).
When we run the above program, we will get the following results.
0.7853885733974476