home > 比較編 > Perl, PHP, Python, Ruby > arithmetic and logic >

ForNext

Only Do What Only You Can Do

033. arithmetic functions

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

PowerShell

Scala

F#

C

C++

C++Builder

VC++

C#

Java

Objective-C

D

VB

VB.NET

Delphi

Ada

PL/SQL

T-SQL

関数型

inserted by FC2 system