Summary
#i and #e don't work correctly in the numbers egg
Metadata
- Id: 00cb4f42a7073bf83685b767da19c6edd4037c3b
- Trac id: 804
- Type: defect
- Reporter: johnwcowan
- Owner:
- Cc:
- Status: closed
- Component: extensions
- Estimated difficulty:
- Resolution: duplicate
- Priority: major
- Milestone: 4.9.0
- Version: 4.7.x
- Changetime: 2012-09-24 21:47:48 UTC
- Created: 2012-03-21 23:12:20 UTC
- Keywords:
Description
`#e1e400` currently returns `+inf.0` rather than exact 10^400^.
`#e2.3` currently returns `2.3` rather than `23/10`
`#i1/2` currently returns `1/2` instead of `0.5`
`#e+inf.0` currently returns `+inf.0` instead of reporting an error
No warnings should be printed.
A reasonable strategy is to look for `#i` and `#e`, and failing that, look for `.` and `e`. That determines which converter should be used, the exact-arithmetic one or the inexact-arithmetic one. Other than infinities and NaNs, both converters should accept the same input and do the right thing with it.
Changes and comments
[2012-03-22 12:47:54 UTC] sjamaan changed status from new to closed
[2012-03-22 12:47:54 UTC] sjamaan set resolution to duplicate
[2012-03-22 12:47:54 UTC] sjamaan wrote:
Duplicate of #788 and #734, this bug has been fixed in numbers trunk and requires some extra support which is only available in Chicken 4.7.4 (see #674).
[2012-09-24 21:47:48 UTC] felix changed milestone from 4.8.0 to 4.9.0
[2012-09-24 21:47:48 UTC] felix wrote:
Milestone 4.8.0 deleted