Skip to content

first_trailing_bit_u64WGSL

Under Construction

This documentation is auto-generated, and is a work in progress. Please see the source code at https://github.com/phetsims/alpenglow/blob/main/js/webgpu/wgsl/math/first_trailing_bit_u64WGSL.ts for the most up-to-date information.

Overview

Returns the position of the first trailing bit (least significant bit) in a u64.

NOTE: ASSUMES NONZERO

@author Jonathan Olson <jonathan.olson@colorado.edu>

Source Code

See the source for first_trailing_bit_u64WGSL.ts in the alpenglow repository.