![]() |
|
|
Issue Type:
|
Bug
|
Affects Versions:
|
JRuby 1.7.0.pre1, JRuby 1.6.7, JRuby 1.7.0.pre2 |
Assignee:
|
Thomas E Enebo
|
Created:
|
05/Aug/12 9:58 PM
|
Description:
|
Expected: BigDecimal.new("179769313486231590772930519078902473361797697894230657273430081157732675805505620686985379449212982959585501387537164015710139858647833778606925583497541085196591615128057575940752635007475935288710823649949940771895617054361149474865046711015101563940680527540071584560878577663743040086340742855278549092581").sqrt(0).to_s("F")
=> "13407807929942597099574024998205846127479365820592393377723561443721764030073720664935730272460038784167544890048265955830752343658005756322445518700544290.874999999999999999999999999999999999999999999999999999999999999999999999999906621427498041317488010070483470679637308246059532707524431206228802101128292130289509016602105017186714598100544"
Got:
BigDecimal.new("179769313486231590772930519078902473361797697894230657273430081157732675805505620686985379449212982959585501387537164015710139858647833778606925583497541085196591615128057575940752635007475935288710823649949940771895617054361149474865046711015101563940680527540071584560878577663743040086340742855278549092581").sqrt(0).to_s("F")
=> "13410000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000.0"
|
Environment:
|
Mac OS X
|
Project:
|
JRuby
|
Priority:
|
Major
|
Reporter:
|
Gonçalo Silva
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email