public static void setFloat ( MemorySegment [ ] segments , int offset , float value ) { if ( inFirstSegment ( segments , offset , 4 ) ) { segments [ 0 ] . putFloat ( offset , value ) ; } else { setFloatMultiSegments ( segments , offset , value ) ; } }
set float from segments .