Mercurial Hosting > luan
view core/src/luan/modules/Math.luan @ 498:ee55be414a34
Http.response is now mostly luan
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 18 May 2015 00:25:35 -0600 |
parents | 410e59ebad7d |
children | 92c3d22745b8 |
line wrap: on
line source
java() local MathLuan = require "java:luan.modules.MathLuan" local JavaMath = require "java:java.lang.Math" local Integer = require "java:java.lang.Integer" abs = MathLuan.abs acos = MathLuan.acos asin = MathLuan.asin atan = MathLuan.atan atan2 = MathLuan.atan2 ceil = MathLuan.ceil cos = MathLuan.cos cosh = MathLuan.cosh deg = MathLuan.deg exp = MathLuan.exp floor = MathLuan.floor log = MathLuan.log min = MathLuan.min min_integer = Integer.MIN_VALUE max = MathLuan.max max_integer = Integer.MAX_VALUE modf = MathLuan.modf pi = JavaMath.PI pow = MathLuan.pow rad = MathLuan.rad random = MathLuan.random sin = MathLuan.sin sinh = MathLuan.sinh sqrt = MathLuan.sqrt tan = MathLuan.tan tanh = MathLuan.tanh to_string = MathLuan.to_string