Replies: 1 comment
-
Hello @Servostar, I converted the issue to a question/discussion as it better fits in the discussion board. All standard functions are implemented in the standard functions library (with some exceptions that are directly built-in) the bitshift are defined in the note if you don't want to compile the library it's always packaged in the github action: https://github.com/PLC-lang/rusty/actions/runs/16051881377 as |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
While experimenting with ruSTy on some implementations for PRNGs, I came across this:
Seemingly, ruSTy does not support bitwise function defined in IEC 61131-3 (6.6.2.5.10). Am I mistaken about that?
What would be the best way to implement this? Perhaps an external library implementing these functions in C which is then added during link time. However, this would add an unnecessary function call.
Is there a way to have ruSTy/LLVM generate platform native bitshift functions?
Beta Was this translation helpful? Give feedback.
All reactions