{"id":17786157,"url":"https://github.com/dcodeio/wasm2js_i64tof32","last_synced_at":"2025-10-25T03:11:08.676Z","repository":{"id":65990089,"uuid":"286255704","full_name":"dcodeIO/wasm2js_i64tof32","owner":"dcodeIO","description":"wait, what?","archived":false,"fork":false,"pushed_at":"2020-08-10T02:53:00.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-07T15:15:46.444Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dcodeIO.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-09T14:42:13.000Z","updated_at":"2020-08-10T02:53:02.000Z","dependencies_parsed_at":"2023-06-01T04:45:52.839Z","dependency_job_id":null,"html_url":"https://github.com/dcodeIO/wasm2js_i64tof32","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcodeIO%2Fwasm2js_i64tof32","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcodeIO%2Fwasm2js_i64tof32/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcodeIO%2Fwasm2js_i64tof32/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcodeIO%2Fwasm2js_i64tof32/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcodeIO","download_url":"https://codeload.github.com/dcodeIO/wasm2js_i64tof32/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246725956,"owners_count":20823700,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-27T09:04:54.390Z","updated_at":"2025-10-25T03:11:08.616Z","avatar_url":"https://github.com/dcodeIO.png","language":"JavaScript","readme":"# Imprecise i64 to f32 in JS\n\n```js\nMath.fround(Number(18446743523953737727n));\n```\n\n!=\n\n```c\n(float)18446743523953737727ULL;\n```\n\nFor full context, see: https://github.com/WebAssembly/binaryen/pull/3024\n\n## Instructions\n\n- `git clone https://github.com/dcodeIO/wasm2js_i64tof32.git`\n- `cd wasm2js_i64tof32`\n- `npm install`\n- `npm test`\n- Improve [assembly/index.ts](./assembly/index.ts)\n- `npm test` again\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcodeio%2Fwasm2js_i64tof32","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcodeio%2Fwasm2js_i64tof32","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcodeio%2Fwasm2js_i64tof32/lists"}