diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-11-22 18:30:36 +0100 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-11-22 18:30:36 +0100 |
commit | 4fff561b7bf2e3c6b8330460fceddb8c4c6d6c8b (patch) | |
tree | 58dff46e1bda1e770ce5a6bfe45adba746cba912 /src/library.js | |
parent | f827c32ce78cd7aa3b9e9a1f8c326480d14f6119 (diff) |
drand48
Diffstat (limited to 'src/library.js')
-rw-r--r-- | src/library.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js index 0f2bc2e8..4b6cb460 100644 --- a/src/library.js +++ b/src/library.js @@ -4038,6 +4038,10 @@ LibraryManager.library = { return Math.floor(Math.random()*0x80000000); }, + drand48: function() { + return Math.random(); + }, + realpath__deps: ['$FS', '__setErrNo'], realpath: function(file_name, resolved_name) { // char *realpath(const char *restrict file_name, char *restrict resolved_name); |