Sami Vaarala
|
4b036bf54a
|
numconv test cases
|
12 years ago |
Sami Vaarala
|
4151b1f54b
|
fix object literal comma bug
|
12 years ago |
Sami Vaarala
|
8170913593
|
remove non-ascii chars from source and headers
|
12 years ago |
Sami Vaarala
|
91b3733f2b
|
octal support changes
|
12 years ago |
Sami Vaarala
|
8488106a71
|
bug testcase for invalid octal parsing
|
12 years ago |
Sami Vaarala
|
05a68f5466
|
add basic octal support to number parsing; this implementation cannot parse e.g. '077' as octal and '0779' as decimal which is done by V8 and Rhino
|
12 years ago |
Sami Vaarala
|
9e29b25466
|
avoid unnecessary interning if string was not actually trimmed; this hopefully speeds up cases where trimming is required but inputs are almost never in need of trimming
|
12 years ago |
Sami Vaarala
|
f2d3c2f2f8
|
macro to get string data end (exclusive)
|
12 years ago |
Sami Vaarala
|
f2c2d55284
|
numconv test cases
|
12 years ago |
Sami Vaarala
|
2968788099
|
bug testcase for parsing 1e+23, which is exactly halfway between two ieee representations; it now rounds incorrectly
|
12 years ago |
Sami Vaarala
|
3fedb9d4eb
|
numconv test cases
|
12 years ago |
Sami Vaarala
|
e741af3085
|
ditz issue update
|
12 years ago |
Sami Vaarala
|
b7a89f5c83
|
change number conversion call sites to use numconv
|
12 years ago |
Sami Vaarala
|
54a6344d6d
|
midcommit of numconv with working string-to-number and number-to-string conversions; still in quite a messy state
|
12 years ago |
Sami Vaarala
|
8af69a67a9
|
numconv testcase cleanups and fix
|
12 years ago |
Sami Vaarala
|
e1d066139d
|
add %g and %e to list of recognized debug format specifiers
|
12 years ago |
Sami Vaarala
|
e5e83caa8a
|
helper script to generate tables needed for string-to-number conversion
|
12 years ago |
Sami Vaarala
|
b6849a97b0
|
specific test to catch a valgrind issue
|
12 years ago |
Sami Vaarala
|
cb02130dbb
|
string-to-number testcases
|
12 years ago |
Sami Vaarala
|
eeba18edd1
|
add more corner cases to numconv toFixed() testcase
|
12 years ago |
Sami Vaarala
|
98b3593041
|
bump version
|
12 years ago |
Sami Vaarala
|
7bccd89bd4
|
initial attempt on adding numconv flags; breaks toFixed(); maybe better to use call site identifier for behavior (e.g. TO_STRING, TO_PRECISION, etc)
|
12 years ago |
Sami Vaarala
|
73191f9ca9
|
number conversion testcase fixes
|
12 years ago |
Sami Vaarala
|
a432b396e4
|
fix Math.round() and Math.pow(), now correct (better?) Ecmascript semantics
|
12 years ago |
Sami Vaarala
|
02b9e8ad56
|
numconv work: change digit generation approach, add a fixed-format output based on an additional digit + rounding (probably not 100% correct but good enough for now)
|
12 years ago |
Sami Vaarala
|
75c50c050e
|
ditz issue update
|
12 years ago |
Sami Vaarala
|
407f09d711
|
extend duk_lc_nybbles to cover all base-36 digits and rename to duk_lc_digits
|
12 years ago |
Sami Vaarala
|
8078f83a76
|
specific development related number-to-string conversion tests for Number.prototype
|
12 years ago |
Sami Vaarala
|
fd08bbb9c8
|
increase bigint max size for number conversion based on testing
|
12 years ago |
Sami Vaarala
|
dccc973a4f
|
some very basic number-to-string tests
|
12 years ago |
Sami Vaarala
|
b76966c356
|
improve numconv implementation; now pretty much works for minimal length output
|
12 years ago |
Sami Vaarala
|
eedbb8205a
|
add duk_numconv.c to build
|
12 years ago |
Sami Vaarala
|
151c97dcb6
|
add global __engine__ into each engine prefix to allow testcases to special case engine specific behavior (e.g. skip a test which causes an infinite loop)
|
12 years ago |
Sami Vaarala
|
cc370fc653
|
integrate initial draft of number-to-string conversion into api ToString() and Number.prototype.toString()
|
12 years ago |
Sami Vaarala
|
4055bbf4aa
|
fix heap init valgrind nit
|
12 years ago |
Sami Vaarala
|
b120dfe983
|
add a very incomplete number-to-string conversion based on Dragon4
|
12 years ago |
Sami Vaarala
|
7a4cf99e09
|
ditz issue update
|
12 years ago |
Sami Vaarala
|
ef91f41ea9
|
fix incorrect order of toPrecision() sprintf args
|
12 years ago |
Sami Vaarala
|
f0b250a88c
|
Makefile update; add sorting.txt to doc targets
|
12 years ago |
Sami Vaarala
|
ce1e7875cd
|
ditz issue update
|
12 years ago |
Sami Vaarala
|
3614e833ba
|
update README.txt for 0.4.0 release
|
12 years ago |
Sami Vaarala
|
119d1b32e4
|
add documentation on sorting
|
12 years ago |
Sami Vaarala
|
a7b573dfef
|
ditz issue update
|
12 years ago |
Sami Vaarala
|
bf5813a227
|
__duk__.sleep() builtin
|
12 years ago |
Sami Vaarala
|
06426d3c33
|
add __duk__.sleep(); rework genstrings.py to put strings requiring 8-bit indices first (quite clunky but good enough)
|
12 years ago |
Sami Vaarala
|
f4dec9a665
|
minor addition to Number.prototype.valueOf() testcase
|
12 years ago |
Sami Vaarala
|
5419f04b01
|
comment trivia
|
12 years ago |
Sami Vaarala
|
d9c0e5c760
|
reorganize and improve Number built-in methods
|
12 years ago |
Sami Vaarala
|
0e820ac269
|
add qsort debug printing
|
12 years ago |
Sami Vaarala
|
89f0509003
|
add an arcfour test for fun
|
12 years ago |