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 |
Sami Vaarala
|
c7244ff219
|
(incomplete) testcase for Number.prototype.toExponential()
|
12 years ago |
Sami Vaarala
|
af4c069a36
|
(incomplete) testcase for Number.prototype.toFixed()
|
12 years ago |
Sami Vaarala
|
ccdad4e6b4
|
placeholder testcase for number -> ToString -> ToNumber roundtrip, which we'd prefer to be exact (except for -0 which comes out as +0); this is recommended (but not required) in E5.1 Section 9.8.1
|
12 years ago |
Sami Vaarala
|
83aec9843f
|
(incomplete) testcase for Number.prototype.toString()
|
12 years ago |
Sami Vaarala
|
2149aee59d
|
remove unsupported -b (bytecode) option from cmdline tool
|
12 years ago |
Sami Vaarala
|
9372c6380b
|
Number.prototype toLocaleString(), toPrecision() placeholders; refactor clamping primitives
|
12 years ago |
Sami Vaarala
|
8f0f6526e2
|
(incomplete) testcase for Array.prototype.toPrecision()
|
12 years ago |
Sami Vaarala
|
d2dca3aa95
|
ditz issue update
|
12 years ago |
Sami Vaarala
|
fbf3a390d6
|
test radix for toLocaleString() too
|
12 years ago |