2014-10-14 16:00:35 -04:00
|
|
|
library angular.core.facade.math;
|
|
|
|
|
|
|
|
|
|
import 'dart:math' as math;
|
|
|
|
|
|
|
|
|
|
class Math {
|
|
|
|
|
static num pow(num x, num exponent) {
|
|
|
|
|
return math.pow(x, exponent);
|
|
|
|
|
}
|
2015-02-05 18:33:57 -08:00
|
|
|
|
|
|
|
|
static num min(num a, num b) => math.min(a, b);
|
|
|
|
|
|
|
|
|
|
static num floor(num a) => a.floor();
|
2014-10-14 16:00:35 -04:00
|
|
|
}
|