We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4888380 commit 5da2babCopy full SHA for 5da2bab
src/common/MathOps.scala
@@ -28,7 +28,7 @@ trait MathOps extends Base {
28
def abs[A:Manifest:Numeric](x: Rep[A])(implicit pos: SourceContext) = math_abs(x)
29
def max[A:Manifest:Numeric](x: Rep[A], y: Rep[A])(implicit pos: SourceContext) = math_max(x,y)
30
def min[A:Manifest:Numeric](x: Rep[A], y: Rep[A])(implicit pos: SourceContext) = math_min(x,y)
31
- def Pi(implicit pos: SourceContext) = math_pi
+ def Pi(implicit pos: SourceContext) = 3.141592653589793238462643383279502884197169
32
def E(implicit pos: SourceContext) = math_e
33
}
34
0 commit comments