mirror of https://github.com/svaarala/duktape.git
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.
42 lines
1.4 KiB
42 lines
1.4 KiB
--- !ditz.rubyforge.org,2008-03-06/issue
|
|
title: implement proper number parsing
|
|
desc: |-
|
|
There are a few parsing placeholders now: ToNumber() coercion, parseInt(),
|
|
parseFloat(), etc. These need to be fixed so that the exactness requirements
|
|
of the specification are fulfilled.
|
|
|
|
If it's possible to do a compliant parser using ANSI C / C99, it is preferable
|
|
to do that by default. A fallback manually implemented parser still needs to
|
|
exist for environments with poor ANSI C compatibility.
|
|
type: :task
|
|
component: duk
|
|
release: v0.5
|
|
reporter: sva <sami.vaarala@poplatek.fi>
|
|
status: :closed
|
|
disposition: :fixed
|
|
creation_time: 2013-03-15 21:30:22.339406 Z
|
|
references: []
|
|
|
|
id: 184833accdc39c80240f29befa55ae8d70c08adc
|
|
log_events:
|
|
- - 2013-03-15 21:30:22.600354 Z
|
|
- sva <sami.vaarala@poplatek.fi>
|
|
- created
|
|
- ""
|
|
- - 2013-04-21 19:28:42.864816 Z
|
|
- sva <sami.vaarala@poplatek.fi>
|
|
- commented
|
|
- |-
|
|
Also eliminate the last sscanf() in duk_js_ops.c, for string-to-array-index
|
|
conversion.
|
|
- - 2013-04-21 19:30:18.390709 Z
|
|
- sva <sami.vaarala@poplatek.fi>
|
|
- commented
|
|
- |-
|
|
There are still a lot sprintf/snprintf/vsnprintf dependencies in the
|
|
implementation -- however, these are only for formatting strings and
|
|
integers, no floats or doubles now.
|
|
- - 2013-05-16 19:53:13.223885 Z
|
|
- sva <sami.vaarala@poplatek.fi>
|
|
- closed with disposition fixed
|
|
- ""
|
|
|