Math Functions

import 'dart:math';

Examples

sin(45 * pi / 180)
// 0.7071067811865475

cos(135 * pi / 180)
// -0.7071067811865475
sqrt(2)
// 1.4142135623730951
max(5, 10)
// 10

min(-5, -10)
// -10