Re: Phix: float32 return value
- Posted by andreasWagner 2 days ago
- 60 views
Should you want to leave it as-is for now, I'm happy if you`re happy.
No, I'm not really happy. A float32 return value is of course needed more often, especially in raymath. And I wasn't able to apply the patch myself.
Perhaps the easiest thing would be for you to update your GitHub repo. Maybe even with the older patches, thank you.
I had an unpleasant experience. I referred a friend to my https://github.com/andizk4kx/ArduLink. Unfortunately, the program only seems to work with the phix version on my computer and probably yours. It doesn't work with the git repo or the official download. It was something to do with assert https://openeuphoria.org/forum/138715.wc#138715. In the case with my friend, I simply copied everything onto a USB stick and drove over to his place (he trusts me not to bring any viruses with me).
In addition, return values of type c_bool are unstable (I don't know how else to put it). You can try bunnymark test and https://openeuphoria.org/forum/139277.wc?last_id=0
and remove the and_bits() here
global function IsMouseButtonDown(atom button) return and_bits(c_func(xIsMouseButtonDown,{button}),1) end function
Thank you
and apologies for the grumbling and complaining

