Ticket #5 (assigned enhancement)
Large exponents don't work correctly (integers don't promote to decimal)
| Reported by: | andy.elvey@… | Owned by: | jvargas |
|---|---|---|---|
| Priority: | minor | Milestone: | milestone1 |
| Component: | Orca | Version: | 1.0 |
| Keywords: | exponents | Cc: |
Description (last modified by krobillard) (diff)
I'm using Orca v0.0.24 on Fedora Core 5. I've found that large exponents don't work correctly. If you do (say) 2 ** 4, the answer is correct (16). But when large exponents are tried, the answers are incorrect. A sample session is shown below.
ORCA 0.0.24 (May 23 2006) O> 5 ** 40 == -1413876383 O> 2 ** 4 == 16 O> 2 ** 100 == 0 O> 2 ** 30 == 1073741824 O> 2 ** 35 == 0 O>
Change History
Note: See
TracTickets for help on using
tickets.
