aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSigmund Vik <sigmund_vik@yahoo.com>2012-04-23 16:11:07 +0200
committerSigmund Vik <sigmund_vik@yahoo.com>2012-04-23 16:13:43 +0200
commit1f56294205dc5d0b0c3e9b456cc59417589a27a5 (patch)
tree8791beeabb875ea23260e6dace2b40d252346020 /src
parent3d8fd7039ffe8023ad57eef5aa27cf3a2ad80632 (diff)
Fix to strtod_l and add test case for strtold.
(The test case is reusing test_strtod, when we implement real support for long double we should add a separate test case for this.)
Diffstat (limited to 'src')
-rw-r--r--src/library.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library.js b/src/library.js
index 370035eb..fdb5e7e6 100644
--- a/src/library.js
+++ b/src/library.js
@@ -3480,8 +3480,8 @@ LibraryManager.library = {
return ret * multiplier;
},
- strtod_l: 'strtold', // no locale support yet
- strtold: 'strtod', // XXX does long double need special care?
+ strtod_l: 'strtod', // no locale support yet
+ strtold: 'strtod', // XXX add real support for long double
strtold_l: 'strtold', // no locale support yet
_parseInt__deps: ['isspace', '__setErrNo', '$ERRNO_CODES'],