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 |
Sami Vaarala
|
bd27c675b7
|
ditz issue update
|
12 years ago |
Sami Vaarala
|
ccf1a4549f
|
add a simple testcase for Array.prototype.toLocaleString(), matching current behavior (= toString())
|
12 years ago |
Sami Vaarala
|
6ad49a002e
|
make Number constructor varargs because it needs to know whether first arg was given or not (as opposed to just being undefined)
|
12 years ago |
Sami Vaarala
|
f49e6ec966
|
refactor 'push this number' handling, implement Number.prototype.valueOf()
|
12 years ago |
Sami Vaarala
|
3186403173
|
testcase for Number.prototype.valueOf()
|
12 years ago |
Sami Vaarala
|
8cb9412a67
|
Number constructor value property testcase
|
12 years ago |
Sami Vaarala
|
760496b873
|
fixes to Number constructor
|
12 years ago |
Sami Vaarala
|
f56b031b20
|
Number constructor test case comment fix
|
12 years ago |
Sami Vaarala
|
7bb5510e34
|
Number constructor test
|
12 years ago |
Sami Vaarala
|
9e6e24c0e0
|
minor array cleanup
|
12 years ago |
Sami Vaarala
|
aa30413d0e
|
ditz issue update
|
12 years ago |
Sami Vaarala
|
9611f2029b
|
testcase trivia fixmenote
|
12 years ago |
Sami Vaarala
|
94d0556dbb
|
add stdint.h
|
12 years ago |
Sami Vaarala
|
bec6a6863c
|
testcase for Array.prototype.splice()
|
12 years ago |