Re: handling float resolution in green
Posted: Wed Mar 09, 2022 9:59 am
Spogg - not really - this one had bugs too.
But I think I found the proper solution. As you know - in math - you can use division by zero and square root of -1 to perform real-life calculations. You just need to use some replacements and logic. And that's the case here. In other words - never say "impossible".
p.s.: there could be used "less or equal" prim instead of "less than", and maybe the value should be 2, not 1 (or 1 with some prior conversion), but you get the main idea.
But I think I found the proper solution. As you know - in math - you can use division by zero and square root of -1 to perform real-life calculations. You just need to use some replacements and logic. And that's the case here. In other words - never say "impossible".
p.s.: there could be used "less or equal" prim instead of "less than", and maybe the value should be 2, not 1 (or 1 with some prior conversion), but you get the main idea.