Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

toUinteger32 #1278

Open
char0n opened this issue Jan 19, 2020 · 0 comments
Open

toUinteger32 #1278

char0n opened this issue Jan 19, 2020 · 0 comments

Comments

@char0n
Copy link
Owner

@char0n char0n commented Jan 19, 2020

Is your feature request related to a problem? Please describe.
Convert double-precision 64-bit binary format IEEE 754 to unsigned 32 bit integer number.

Describe the solution you'd like

const toUinteger32 = curry1(val => val >>> 0);

Describe alternatives you've considered


Additional context

We also need to alias this function as: toUint32

http://speakingjs.com/es5/ch11.html#integers_via_bitwise_operators

Related to toInteger32

This was referenced Jan 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.