1 // Generated by LiveScript 1.6.0
2 var max, min, negate, abs, signum, quot, rem, div, mod, recip, pi, tau, exp, sqrt, ln, pow, sin, tan, cos, asin, acos, atan, atan2, truncate, round, ceiling, floor, isItNaN, even, odd, gcd, lcm;
3 max = curry$(function(x$, y$){
4 return x$ > y$ ? x$ : y$;
6 min = curry$(function(x$, y$){
7 return x$ < y$ ? x$ : y$;
22 quot = curry$(function(x, y){
25 rem = curry$(function(x$, y$){
28 div = curry$(function(x, y){
29 return Math.floor(x / y);
31 mod = curry$(function(x$, y$){
33 return ((x$) % (ref$ = y$) + ref$) % ref$;
35 recip = (function(it){
43 pow = curry$(function(x$, y$){
44 return Math.pow(x$, y$);
52 atan2 = curry$(function(x, y){
53 return Math.atan2(x, y);
55 truncate = function(x){
61 isItNaN = function(x){
70 gcd = curry$(function(x, y){
81 lcm = curry$(function(x, y){
82 return Math.abs(Math.floor(x / gcd(x, y) * y));
118 function curry$(f, bound){
120 _curry = function(args) {
121 return f.length > 1 ? function(){
122 var params = args ? args.concat() : [];
123 context = bound ? context || this : this;
124 return params.push.apply(params, arguments) <
125 f.length && arguments.length ?
126 _curry.call(context, params) : f.apply(context, params);