Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-beta-5
-
None
-
None
Description
1> println( Math.sin(7/3) )
2> go
No such method: sin for class: java.lang.Math with arguments: [2.3333333333]
1> println( Math.sin(2.3333333333) )
2> go
0.7230858817613498
Attachments
Attachments
Issue Links
- depends upon
-
GROOVY-256 Numeric literals: default BigDecimal for decimals, support suffixes
- Closed
- is duplicated by
-
GROOVY-359 Problems with numeric types (for example, 2.0D)
- Closed
- relates to
-
GROOVY-275 Allows assignment of a value to a numeric type which is too large for it to hold
- Closed