ForNext
Only Do What Only You Can Do
033. arithmetic functions
Hyperpolyglot Interpreted Languages: PHP, Perl, Python, Ruby より (2012.05.08)
VBScript
JScript
Perl
use Math::Trig qw( tan asin acos atan); sqrt exp log sin cos tan asin acos atan atan2
PHP
sqrt exp log sin cos tan asin acos atan atan2
Python
from math import sqrt, exp, log, \ sin, cos, tan, asin, acos, atan, atan2
Ruby
include Math sqrt exp log sin cos tan asin acos atan atan2