ratio_test_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/ratio_test_q128WGSL.ts for the most up-to-date information.
Overview¶
Returns a range query on the rational (q128) value:
2i: totally internal (0<q<1) 1i: on an endpoint (q=0 or q=1) 0i: totally external (q<0 or q>1)
@author Jonathan Olson <jonathan.olson@colorado.edu>
Source Code¶
See the source for ratio_test_q128WGSL.ts in the alpenglow repository.