Prevent use of primitive float operation functions#763
Prevent use of primitive float operation functions#763asherkin merged 7 commits intoalliedmodders:masterfrom Headline:people-still-use-these
Conversation
|
I'd prefer "This native is internal implementation." rather than "This native only exists to be overloaded." Does adding |
|
I suppose deprecation is only correlated with removal, so I redact that. |
|
We want people to stop using these natives. They are not used internally in modern plugins, the JIT emits float opcodes directly, they're definitely on the removal path if we break binary compat for some reason. |
|
The deprecation warning doesn't carry through to the overloads, so 🚢 |
asherkin
left a comment
There was a problem hiding this comment.
I look forward to the :steamsalty:
Apparently people use the float natives for actual float arithmetic; they're not really intended to be used directly. I've added a note to deter people from using these instead of their respective operators.