var pi = Math.PI;
function abs(x) { return Math.abs(x); }; 
function acos(x) { return Math.acos(x); }; 
function ACOS(x) { return 180*Math.acos(x)/pi; }; 
function asin(x) { return Math.asin(x); }; 
function ASIN(x) { return 180*Math.asin(x)/pi; }; 
function atan(x) { return Math.atan(x); }; 
function ATAN(x) { return 180*Math.atan(x)/pi; }; 
function cos(x) { return Math.cos(x); }; 
function COS(x) { return Math.cos(x*pi/180); }; 
function sin(x) { return Math.sin(x); }; 
function SIN(x) { return Math.sin(x*pi/180); }; 
function tan(x) { return Math.tan(x); }; 
function TAN(x) { return Math.tan(x*pi/180); }; 
function exp(x) { return Math.exp(x); }; 
function log(x) { return Math.log(x); }; 
function log10(x) { return Math.log(x)/Math.log(10); }; 
function log2(x) { return Math.log(x)/Math.log(2); }; 
function ln(x) { return Math.log(x); }; 
function sqrt(x) { return Math.sqrt(x); }; 
function ceil(x) { return Math.ceil(x); }; 
function floor(x) { return Math.floor(x); }; 
function round(x) { return Math.round(x); }; 
function random(x) { return Math.random(x); }; 
function atan2(x,y) { return Math.atan2(x,y); }; 
function pow(x,y) { return Math.pow(x,y); }; 
function max(x,y) { return Math.max(x,y); }; 
function min(x,y) { return Math.min(x,y); }; 
