logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

conv_float_s32 - Convert a value from float to s32

Author

       Jeff Epler

Functions

conv-float-s32.N (requires a floating-point thread)
              Update 'out' based on 'in'

License

       GPL

LinuxCNC Documentation                             2025-08-07                                  CONV_FLOAT_S32(9)

Name

       conv_float_s32 - Convert a value from float to s32

Parameters

conv-float-s32.N.clamp bit rw
              If TRUE, then clamp to the range of s32.  If FALSE, then allow the value to "wrap around".

Pins

conv-float-s32.N.in float in
       conv-float-s32.N.out s32 out
       conv-float-s32.N.out-of-range bit out
              TRUE when 'in' is not in the range of s32

Synopsis

loadrtconv_float_s32[count=N|names=name1[,name2...]]

See Also