CONV_FLOAT_S32(9)

πŸ“¦
version 2.9.4 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– CONV_FLOAT_S32 πŸ’–

okay bestie, so this is a HAL Component manual page, and honestly? it's a little icon. it does one job and it does it flawlessly. no notes. 🫢

✨ NAME ✨

conv_float_s32 β€” converts a value from float to s32, that's it, that's the whole personality 🌸


🌈 SYNOPSIS 🌈

loadrt conv_float_s32 [count=N|names=name1[,name2...]]

πŸŽ€ FUNCTIONS πŸŽ€

  • conv-float-s32.N β€” bestie this one requires a floating-point thread, do not play with it. its whole vibe is: update out based on in. that's the function. that's the main character energy. πŸ’…

πŸ¦‹ PINS πŸ¦‹

  • conv-float-s32.N.in float in β€” yes the pin is literally called in, it's giving minimalism
  • conv-float-s32.N.out s32 out β€” the glow-up result, in s32 form ✨
  • conv-float-s32.N.out-of-range bit out β€” turns TRUE when in is not in the range of s32. it's basically the little alarm that says "girl… that number is NOT fitting" 😭

πŸ“ 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". so like… do you want it contained or do you want it doing little laps? your call, it's read-write, you're in charge πŸ‘‘
fr fr though: clamp = FALSE means the value "wraps around" instead of being clamped. no cap, that's what the page says, just so you're not surprised.

πŸ‘‘ AUTHOR πŸ‘‘

Jeff Epler πŸ’œ

πŸ“œ LICENSE πŸ“œ

GPL


and that's a wrap, gorgeous πŸŒˆπŸ’– this was the HAL Component page (conv_float_s32), brought to you by LinuxCNC Documentation, dated 2026-03-17. slay, stay safe, and clamp responsibly βœ¨πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from