INNER CODE UNIT · Dart

PI

roipeker/graphx · lib/src/math.dart:15

  static const PI = math.pi;

  /// Shortcut for `Math.PI * 2`, represents a 360 degree angle
  static const PI_2 = math.pi * 2;

  /// Shortcut for `Math.PI/2`, represents an angle of 90 degrees in radians.
  static const PI1_2 = math.pi / 2;

  /// A mathematical constant for the base of natural logarithms,
  /// expressed as `e`.
  static const E = math.e;

  /// A mathematical constant for the natural logarithm of 10,
  /// expressed as `loge10`, with an approximate value of 2.302585092994046.
  static const LN10 = math.ln10;

  /// A mathematical constant for the natural logarithm of 2,
  /// expressed as `loge2`, with an approximate value of 0.6931471805599453.

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…