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_u32 - Convert a value from float to u32

Author

       Jeff Epler

Functions

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

License

       GPL

LinuxCNC Documentation                             2025-06-19                                  CONV_FLOAT_U32(9)

Name

       conv_float_u32 - Convert a value from float to u32

Parameters

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

Pins

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

Synopsis

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

See Also