-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Linker Bug (Probably related to missing long double support) #444
Comments
Can you either post the code here or send it privately so we can diagnose the issue please? |
But yes, long double will most likely result in double functions attempting to be linked in. Also, if you read this: https://ce-programming.github.io/toolchain/static/hardware.html#floating-point-numbers You may note that |
If you want high precision, I'd suggest using TI's floating point type. There's a clunky C wrapper for it in ti/real.h and a sleek C++ wrapper for it in ti/real. |
That was fast. |
Yeah it's confirmed that the compiler is emitting a call to |
I've written some code and while trying to compile it, it got through the compiler stage but when linking I got the error
Error: symbol ':globals.__dsub' is undefined or out of scope.
and my brain melted because I have no idea what that means.
However, guessing by the "d" I'm guessing it's related to double/long double support, and I do use long doubles all over my code because I want maximum math precision for what I'm doing. And I do know reading through other issues that double/long double support has been a problem for some time now.
If this is that, then you can probably just close this issue. Otherwise, I'd like to get this fixed.
error.txt
The text was updated successfully, but these errors were encountered: