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

Implement itoa() #5

Merged
merged 7 commits into from
Jul 16, 2022
Merged

Implement itoa() #5

merged 7 commits into from
Jul 16, 2022

Conversation

sevanescence
Copy link
Contributor

Wrote an implementation of iota() that uses a version of the VITAUT iota algorithm specified for signed 32-bit integer numbers. Non-standard documentation has been provided, and the type signature was changed from the original implementation in order to be consistent with existing implementations of iota() on other compilers and systems.

itoa() has been redeclared to comply with the BemxOS standard definition of the itoa() function.
Defined iota() function, using the VITAUT iota implementation for signed int32 numbers.
Re-write iota() formatting to be compliant with BemxOS indentation and scope bracket definition.
Redeclared the iota() signature to be consistent with existing implementations of iota() on non-BemxOS compilers.
Redeclared the iota() signature to be consistent with existing implementations of iota() on non-BemxOS compilers.
@sevanescence
Copy link
Contributor Author

sevanescence commented Jul 16, 2022

Edit: itoa* (all implementations in code are correct, I just neglected to write the name correctly in my commit messages).

@sevanescence sevanescence changed the title Implement iota() Implement itoa() Jul 16, 2022
@bemxio
Copy link
Owner

bemxio commented Jul 16, 2022

alright, it seems good to merge now! thank you for your 2nd contribution!

@bemxio bemxio merged commit 83b7dcc into bemxio:main Jul 16, 2022
@bemxio bemxio linked an issue Jul 16, 2022 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rewrite itoa() to not use strrev()
2 participants