i64_to_q128WGSL¶
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/i64_to_q128WGSL.ts for the most up-to-date information.
Overview¶
Converts i64 numerator and denominator to a rational q128.
Basically, we just ensure the denominator is positive (negating both if it is negative).
@author Jonathan Olson <jonathan.olson@colorado.edu>
Source Code¶
See the source for i64_to_q128WGSL.ts in the alpenglow repository.