.\"******************************************************************* .\" .\" This file was extracted from hal/components/conv_float_u32.comp using halcompile.g. .\" Modify the source file. .\" .\"******************************************************************* .TH CONV_FLOAT_U32 "9" "2024-03-13" "LinuxCNC Documentation" "HAL Component" .SH NAME conv_float_u32 \- Convert a value from float to u32 .SH SYNOPSIS .HP .B loadrt conv_float_u32 [count=\fIN\fB|names=\fIname1\fB[,\fIname2...\fB]] .SH FUNCTIONS .TP \fBconv-float-u32.\fIN\fB\fR (requires a floating-point thread) Update 'out' based on 'in' .SH PINS .TP .B conv-float-u32.\fIN\fB.in\fR float in \fR .br .ns .TP .B conv-float-u32.\fIN\fB.out\fR u32 out \fR .br .ns .TP .B conv-float-u32.\fIN\fB.out-of-range\fR bit out \fR TRUE when 'in' is not in the range of u32 .SH PARAMETERS .TP .B conv-float-u32.\fIN\fB.clamp\fR bit rw \fR If TRUE, then clamp to the range of u32. If FALSE, then allow the value to "wrap around". .SH AUTHOR Jeff Epler .SH LICENSE GPL