㈠ 编程的接口有哪些
(1)C语言:
【SYNOPSIS】
#include <math.h>
double sqrt(double X);
float sqrtf(float X);
【DESCRIPTION】
DESCRIPTION
sqrt computes the positive square root of the argument. ...
【RETURNS】
On success, the square root is returned. If X is real and positive...
(2)perl语言:
$ 【perldoc】 -f sqrt
sqrt EXPR
sqrt #Return the square root of EXPR. If EXPR is omitted, returns
#square root of $_. Only works on non-negative operands, unless
#you've loaded the standard Math::Complex mole.
(3)python语言:
$ 【pydoc】 math.sqrt
Help on built-in function sqrt in math:
math.sqrt = sqrt(...)
sqrt(x)
Return the square root of x.
(4)ruby语言:
$ 【ri】 Math::sqrt
Math::sqrt
Math.sqrt(numeric) => float
Returns the non-negative square root of _numeric_.
注释:带有【】的代码是这个语言的编程接口
(5)java语言:
http://download.oracle.com/javase/6/docs/api/