123456789101112131415161718192021222324252627282930313233343536373839404142 |
- echo( "Random Vector: ",rands(5,15,4,42));
- echo( "abs: ",abs(-9));
- echo( "sign: ",sign(9));
- echo( "sign: ",sign(-9));
- echo( "cos: ",cos(9));
- echo( "sin: ",sin(9));
- echo( "tan: ",tan(9));
- echo( "acos: ",acos(0.1));
- echo( "asin: ",asin(0.1));
- echo( "atan: ",atan(9));
- echo( "atan2: ",atan2(1,2));
- echo( "min: ",min(1,2));
- echo( "max: ",max(1,2));
- echo( "pow: ",pow(1,2));
- echo( "sqrt: ",sqrt(2));
- echo( "ln: ",ln(1));
- echo( "ceil: ",ceil(2.5));
- echo( "ceil: ",ceil(-2.5));
- echo( "floor: ",floor(2.5));
- echo( "floor: ",floor(-2.5));
- echo( "log: ",log(10));
- echo( "log: ",log(10,2));
- echo( "exp: ",exp(2));
- echo("sign");
- echo(sign(-5.0));
- echo(sign(0));
- echo(sign(8.0));
- echo("round");
- echo(round(2.5));// = x+1.
- echo(round(2.49));// = x.
- echo(round(-(2.5)));// = -(x+1).
- echo(round(-(2.49)));// = -x.
- echo(round(5.4));// //-> 5
- echo(round(5.5));// //-> 6
- echo(round(5.6));// //-> 6
- sphere();
|