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

p_ftoi: Remove? / Let compiler decide rounding mode #102

Open
olajep opened this issue Jun 7, 2015 · 2 comments
Open

p_ftoi: Remove? / Let compiler decide rounding mode #102

olajep opened this issue Jun 7, 2015 · 2 comments

Comments

@olajep
Copy link
Member

olajep commented Jun 7, 2015

Do we really need this function?

And can't we just let the compiler decide the rounding mode?

Reference:
https://github.com/parallella/pal/blob/master/src/math/p_ftoi.c

@aolofsson
Copy link
Member

Let's check the compiler output on a couple of architectures before canceling funciton. Assumption is that it is not handled effectively with current compiler (at least for Epihany).

@WesleyCeraso
Copy link
Contributor

Some GPU also do not support IEEE-754, it may be a problem. BTW, are PAL meant to support non-IEEE-754 devices?

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

No branches or pull requests

3 participants