Lines Matching refs:fract
1910 * fract: Positive fractional part
1914 * For example, fract(1.3f, &val) returns 0.3f and sets val to 1.f.
1915 * fract(-1.3f, &val) returns 0.7f and sets val to -2.f.
1922 fract(float v, float* floor);
1925 fract(float2 v, float2* floor);
1928 fract(float3 v, float3* floor);
1931 fract(float4 v, float4* floor);
1935 fract(float v) {
1937 return fract(v, &unused);
1943 fract(float2 v) {
1945 return fract(v, &unused);
1951 fract(float3 v) {
1953 return fract(v, &unused);
1959 fract(float4 v) {
1961 return fract(v, &unused);
1967 fract(float v);
1972 fract(float2 v);
1977 fract(float3 v);
1982 fract(float4 v);
1987 fract(half v, half* floor);
1992 fract(half2 v, half2* floor);
1997 fract(half3 v, half3* floor);
2002 fract(half4 v, half4* floor);
2007 fract(half v);
2012 fract(half2 v);
2017 fract(half3 v);
2022 fract(half4 v);
6528 , deprecated("Use fract() instead.")