English Amiga Board


Go Back   English Amiga Board > Search Forums

Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: alkis
Forum: Coders. C/C++ 08 July 2021, 14:03
Replies: 28
Views: 3,223
Posted By alkis
There shouldn't be different if your values are...

There shouldn't be different if your values are within FFP range. If they are not then you have other problems. If they are, then the conversion should work.
Forum: Coders. C/C++ 08 July 2021, 13:26
Replies: 28
Views: 3,223
Posted By alkis
the function ffpfieee is "ffp from ieee" ...

the function ffpfieee is "ffp from ieee"

Check the hex representation here
https://godbolt.org/z/fWbzjTbff
Forum: Coders. C/C++ 08 July 2021, 12:50
Replies: 28
Views: 3,223
Posted By alkis
The site where you see the code is using a...

The site where you see the code is using a cross-compiler toolchain. So it works in cross-compiler for sure.

But why would you want strings?

int a[] = {
foo("3.14159")
};

vs
Forum: Coders. C/C++ 08 July 2021, 11:51
Replies: 28
Views: 3,223
Posted By alkis
The code in the link initialises an array with...

The code in the link initialises an array with FFP values. Isn't that what you wanted?

You have to call the ffpfieee() function and instead of strings supply c++ floats.
Forum: Coders. C/C++ 08 July 2021, 11:30
Replies: 28
Views: 3,223
Posted By alkis
post#7?

post#7?
Forum: Coders. C/C++ 07 July 2021, 22:28
Replies: 28
Views: 3,223
Posted By alkis
You mean something like that? ...

You mean something like that?

http://franke.ms/cex/z/b9vqoo
Showing results 1 to 6 of 6

 
Forum Jump

All times are GMT +2. The time now is 06:59.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Page generated in 0.05918 seconds with 10 queries