MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / v_cvt_vec4i

Function v_cvt_vec4i

include/vecmath/dag_vecMath.h:183–183  ·  view source on GitHub ↗

works same as scalar operations on all values

Source from the content-addressed store, hash-verified

181VECTORCALL VECMATH_FINLINE vec4i v_cvtu_vec4i(vec4f a);//works correctly on all correct values (positive). on negative - implementation defined
182VECTORCALL VECMATH_FINLINE vec4i v_cvtu_vec4i_ieee(vec4f a);//works same as scalar operations on all values
183VECTORCALL VECMATH_FINLINE vec4i v_cvt_vec4i(vec4f a){return v_cvti_vec4i(a);}
184//! convert to float
185VECTORCALL VECMATH_FINLINE vec4f v_cvti_vec4f(vec4i a);
186VECTORCALL VECMATH_FINLINE vec4f v_cvtu_vec4f(vec4i a);//works correctly on all accurately representable values (< 1<<24). on others - implementation defined

Callers 15

rast_hspan_u8Function · 0.85
rast_hspan_masked_u8Function · 0.85
evalMethod · 0.85
TrunciMethod · 0.85
TrunciMethod · 0.85
setAlignedMethod · 0.85
setXYMethod · 0.85
cvt_int2Function · 0.85
cvt_int3Function · 0.85
cvt_int4Function · 0.85
cvt_uint2Function · 0.85

Calls 1

v_cvti_vec4iFunction · 0.70

Tested by

no test coverage detected