es6_math 1.2.1 copy "es6_math: ^1.2.1" to clipboard
es6_math: ^1.2.1 copied to clipboard

Provides math functions from ES6 (ECMAScript 2015) that are currently missing in dart:math.

example/example.dart

import 'package:es6_math/es6_math.dart';

void main() {
  print(imul(0xfffffffe, 5)); // -10
  print(trunc(12.34)); // 12
}
1
likes
150
points
78
downloads

Publisher

verified publisherleadrdrk.com

Weekly Downloads

Provides math functions from ES6 (ECMAScript 2015) that are currently missing in dart:math.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on es6_math