You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.1 KiB

11 years ago
--- !ditz.rubyforge.org,2008-03-06/issue
title: Math.PI in incorrect endianness prints out garbage, Math.LOG2E forever loops?
desc: ""
type: :task
component: duk
release: v0.7
reporter: sva <sami.vaarala@iki.fi>
status: :closed
disposition: :reorg
creation_time: 2013-10-25 14:46:09.513189 Z
references: []
id: 5fb1025c46e151034fbd93125b820fbac19e773b
log_events:
- - 2013-10-25 14:46:10.169152 Z
- sva <sami.vaarala@iki.fi>
- created
- ""
- - 2013-10-25 23:26:22.658034 Z
- sva <sami.vaarala@iki.fi>
- commented
- Probably related to duk_numconv.c.
- - 2013-10-26 00:51:51.736656 Z
- sva <sami.vaarala@iki.fi>
- commented
- |-
It seems that 64-bit arithmetic in duk_numconv.c, bi_mul() fails with VBCC.
The fix would be to implement a 32-bit integer arithmetic only workaround
for platforms with 64-bit limitations and add a define for using the
workaround (DUK_USE_AVOID_64BIT or something).
- - 2013-10-27 20:53:24.716247 Z
- sva <sami.vaarala@iki.fi>
- closed with disposition reorg
- Related to {issue 4044dd5403958dd6ce362ef23c8b733f7f820411}.