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.

40 lines
1.2 KiB

11 years ago
--- !ditz.rubyforge.org,2008-03-06/issue
title: remove 64-bit arithmetic from mandatory code as a portability issue
desc: |-
It seems that at least VBCC on AmigaOS has trouble with 64-bit integers
(even though it is striving for C99 compliance). This turned out in
duk_numconv.c.
type: :task
component: duk
release: v0.7
reporter: sva <sami.vaarala@iki.fi>
status: :closed
disposition: :fixed
creation_time: 2013-10-25 23:50:14.664173 Z
references: []
id: 4044dd5403958dd6ce362ef23c8b733f7f820411
log_events:
- - 2013-10-25 23:50:15.536210 Z
- sva <sami.vaarala@iki.fi>
- created
- ""
- - 2013-10-25 23:53:15.897376 Z
- sva <sami.vaarala@iki.fi>
- commented
- |-
There are a few places where 64-bit quantities are used:
* duk_numconv.c uses uint64_t for bigint arithmetic
* duk_tval.h used unsigned long long for working with doubles
* duk_util_hashprime.c uses unsigned long long for hash ratio stuff
* RDTSC timestamps are unsigned long long, but this can be disabled
and is only relevant for debug builds anyway
- - 2013-10-28 23:05:40.768879 Z
- sva <sami.vaarala@iki.fi>
- closed with disposition fixed
- ""