Home
last modified time | relevance | path

Searched refs:inDenominator (Results 1 – 15 of 15) sorted by relevance

/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/
DTestFmod.rs25 float inDenominator = rsGetElementAt_float(gAllocInDenominator, x);
26 return fmod(inNumerator, inDenominator);
30 float2 inDenominator = rsGetElementAt_float2(gAllocInDenominator, x);
31 return fmod(inNumerator, inDenominator);
35 float3 inDenominator = rsGetElementAt_float3(gAllocInDenominator, x);
36 return fmod(inNumerator, inDenominator);
40 float4 inDenominator = rsGetElementAt_float4(gAllocInDenominator, x);
41 return fmod(inNumerator, inDenominator);
45 half inDenominator = rsGetElementAt_half(gAllocInDenominator, x);
46 return fmod(inNumerator, inDenominator);
[all …]
DTestAtan2.rs25 float inDenominator = rsGetElementAt_float(gAllocInDenominator, x);
26 return atan2(inNumerator, inDenominator);
30 float2 inDenominator = rsGetElementAt_float2(gAllocInDenominator, x);
31 return atan2(inNumerator, inDenominator);
35 float3 inDenominator = rsGetElementAt_float3(gAllocInDenominator, x);
36 return atan2(inNumerator, inDenominator);
40 float4 inDenominator = rsGetElementAt_float4(gAllocInDenominator, x);
41 return atan2(inNumerator, inDenominator);
45 half inDenominator = rsGetElementAt_half(gAllocInDenominator, x);
46 return atan2(inNumerator, inDenominator);
[all …]
DTestRemainder.rs25 float inDenominator = rsGetElementAt_float(gAllocInDenominator, x);
26 return remainder(inNumerator, inDenominator);
30 float2 inDenominator = rsGetElementAt_float2(gAllocInDenominator, x);
31 return remainder(inNumerator, inDenominator);
35 float3 inDenominator = rsGetElementAt_float3(gAllocInDenominator, x);
36 return remainder(inNumerator, inDenominator);
40 float4 inDenominator = rsGetElementAt_float4(gAllocInDenominator, x);
41 return remainder(inNumerator, inDenominator);
45 half inDenominator = rsGetElementAt_half(gAllocInDenominator, x);
46 return remainder(inNumerator, inDenominator);
[all …]
DTestAtan2pi.rs25 float inDenominator = rsGetElementAt_float(gAllocInDenominator, x);
26 return atan2pi(inNumerator, inDenominator);
30 float2 inDenominator = rsGetElementAt_float2(gAllocInDenominator, x);
31 return atan2pi(inNumerator, inDenominator);
35 float3 inDenominator = rsGetElementAt_float3(gAllocInDenominator, x);
36 return atan2pi(inNumerator, inDenominator);
40 float4 inDenominator = rsGetElementAt_float4(gAllocInDenominator, x);
41 return atan2pi(inNumerator, inDenominator);
45 half inDenominator = rsGetElementAt_half(gAllocInDenominator, x);
46 return atan2pi(inNumerator, inDenominator);
[all …]
DTestNativeAtan2.rs25 float inDenominator = rsGetElementAt_float(gAllocInDenominator, x);
26 return native_atan2(inNumerator, inDenominator);
30 float2 inDenominator = rsGetElementAt_float2(gAllocInDenominator, x);
31 return native_atan2(inNumerator, inDenominator);
35 float3 inDenominator = rsGetElementAt_float3(gAllocInDenominator, x);
36 return native_atan2(inNumerator, inDenominator);
40 float4 inDenominator = rsGetElementAt_float4(gAllocInDenominator, x);
41 return native_atan2(inNumerator, inDenominator);
45 half inDenominator = rsGetElementAt_half(gAllocInDenominator, x);
46 return native_atan2(inNumerator, inDenominator);
[all …]
DTestNativeAtan2pi.rs25 float inDenominator = rsGetElementAt_float(gAllocInDenominator, x);
26 return native_atan2pi(inNumerator, inDenominator);
30 float2 inDenominator = rsGetElementAt_float2(gAllocInDenominator, x);
31 return native_atan2pi(inNumerator, inDenominator);
35 float3 inDenominator = rsGetElementAt_float3(gAllocInDenominator, x);
36 return native_atan2pi(inNumerator, inDenominator);
40 float4 inDenominator = rsGetElementAt_float4(gAllocInDenominator, x);
41 return native_atan2pi(inNumerator, inDenominator);
45 half inDenominator = rsGetElementAt_half(gAllocInDenominator, x);
46 return native_atan2pi(inNumerator, inDenominator);
[all …]
DTestFmod.java49 public float inDenominator; field in TestFmod.ArgumentsFloatFloatFloat
55 …Allocation inDenominator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xeff8dc0a04b… in checkFmodFloatFloatFloat() local
58 script.set_gAllocInDenominator(inDenominator); in checkFmodFloatFloatFloat()
60 verifyResultsFmodFloatFloatFloat(inNumerator, inDenominator, out, false); in checkFmodFloatFloatFloat()
67 scriptRelaxed.set_gAllocInDenominator(inDenominator); in checkFmodFloatFloatFloat()
69 verifyResultsFmodFloatFloatFloat(inNumerator, inDenominator, out, true); in checkFmodFloatFloatFloat()
75 inDenominator.destroy(); in checkFmodFloatFloatFloat()
78 …private void verifyResultsFmodFloatFloatFloat(Allocation inNumerator, Allocation inDenominator, Al… in verifyResultsFmodFloatFloatFloat() argument
84 inDenominator.copyTo(arrayInDenominator); in verifyResultsFmodFloatFloatFloat()
95 args.inDenominator = arrayInDenominator[i]; in verifyResultsFmodFloatFloatFloat()
[all …]
DTestAtan2.java49 public float inDenominator; field in TestAtan2.ArgumentsFloatFloatFloat
55 …Allocation inDenominator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x37738e957bd… in checkAtan2FloatFloatFloat() local
58 script.set_gAllocInDenominator(inDenominator); in checkAtan2FloatFloatFloat()
60 verifyResultsAtan2FloatFloatFloat(inNumerator, inDenominator, out, false); in checkAtan2FloatFloatFloat()
67 scriptRelaxed.set_gAllocInDenominator(inDenominator); in checkAtan2FloatFloatFloat()
69 verifyResultsAtan2FloatFloatFloat(inNumerator, inDenominator, out, true); in checkAtan2FloatFloatFloat()
75 inDenominator.destroy(); in checkAtan2FloatFloatFloat()
78 …private void verifyResultsAtan2FloatFloatFloat(Allocation inNumerator, Allocation inDenominator, A… in verifyResultsAtan2FloatFloatFloat() argument
84 inDenominator.copyTo(arrayInDenominator); in verifyResultsAtan2FloatFloatFloat()
95 args.inDenominator = arrayInDenominator[i]; in verifyResultsAtan2FloatFloatFloat()
[all …]
DTestRemainder.java49 public float inDenominator; field in TestRemainder.ArgumentsFloatFloatFloat
55 …Allocation inDenominator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xb246eb0ee2e… in checkRemainderFloatFloatFloat() local
58 script.set_gAllocInDenominator(inDenominator); in checkRemainderFloatFloatFloat()
60 verifyResultsRemainderFloatFloatFloat(inNumerator, inDenominator, out, false); in checkRemainderFloatFloatFloat()
67 scriptRelaxed.set_gAllocInDenominator(inDenominator); in checkRemainderFloatFloatFloat()
69 verifyResultsRemainderFloatFloatFloat(inNumerator, inDenominator, out, true); in checkRemainderFloatFloatFloat()
75 inDenominator.destroy(); in checkRemainderFloatFloatFloat()
78 …ifyResultsRemainderFloatFloatFloat(Allocation inNumerator, Allocation inDenominator, Allocation ou… in verifyResultsRemainderFloatFloatFloat() argument
84 inDenominator.copyTo(arrayInDenominator); in verifyResultsRemainderFloatFloatFloat()
95 args.inDenominator = arrayInDenominator[i]; in verifyResultsRemainderFloatFloatFloat()
[all …]
DTestAtan2pi.java49 public float inDenominator; field in TestAtan2pi.ArgumentsFloatFloatFloat
55 …Allocation inDenominator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xc4961da25a7… in checkAtan2piFloatFloatFloat() local
58 script.set_gAllocInDenominator(inDenominator); in checkAtan2piFloatFloatFloat()
60 verifyResultsAtan2piFloatFloatFloat(inNumerator, inDenominator, out, false); in checkAtan2piFloatFloatFloat()
67 scriptRelaxed.set_gAllocInDenominator(inDenominator); in checkAtan2piFloatFloatFloat()
69 verifyResultsAtan2piFloatFloatFloat(inNumerator, inDenominator, out, true); in checkAtan2piFloatFloatFloat()
75 inDenominator.destroy(); in checkAtan2piFloatFloatFloat()
78 …erifyResultsAtan2piFloatFloatFloat(Allocation inNumerator, Allocation inDenominator, Allocation ou… in verifyResultsAtan2piFloatFloatFloat() argument
84 inDenominator.copyTo(arrayInDenominator); in verifyResultsAtan2piFloatFloatFloat()
95 args.inDenominator = arrayInDenominator[i]; in verifyResultsAtan2piFloatFloatFloat()
[all …]
DTestNativeAtan2.java49 public float inDenominator; field in TestNativeAtan2.ArgumentsFloatFloatFloat
55 …Allocation inDenominator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xf6634dcb634… in checkNativeAtan2FloatFloatFloat() local
58 script.set_gAllocInDenominator(inDenominator); in checkNativeAtan2FloatFloatFloat()
60 verifyResultsNativeAtan2FloatFloatFloat(inNumerator, inDenominator, out, false); in checkNativeAtan2FloatFloatFloat()
67 scriptRelaxed.set_gAllocInDenominator(inDenominator); in checkNativeAtan2FloatFloatFloat()
69 verifyResultsNativeAtan2FloatFloatFloat(inNumerator, inDenominator, out, true); in checkNativeAtan2FloatFloatFloat()
75 inDenominator.destroy(); in checkNativeAtan2FloatFloatFloat()
78 …yResultsNativeAtan2FloatFloatFloat(Allocation inNumerator, Allocation inDenominator, Allocation ou… in verifyResultsNativeAtan2FloatFloatFloat() argument
84 inDenominator.copyTo(arrayInDenominator); in verifyResultsNativeAtan2FloatFloatFloat()
95 args.inDenominator = arrayInDenominator[i]; in verifyResultsNativeAtan2FloatFloatFloat()
[all …]
DTestNativeAtan2pi.java49 public float inDenominator; field in TestNativeAtan2pi.ArgumentsFloatFloatFloat
55 …Allocation inDenominator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0xd63229f7085… in checkNativeAtan2piFloatFloatFloat() local
58 script.set_gAllocInDenominator(inDenominator); in checkNativeAtan2piFloatFloatFloat()
60 verifyResultsNativeAtan2piFloatFloatFloat(inNumerator, inDenominator, out, false); in checkNativeAtan2piFloatFloatFloat()
67 scriptRelaxed.set_gAllocInDenominator(inDenominator); in checkNativeAtan2piFloatFloatFloat()
69 verifyResultsNativeAtan2piFloatFloatFloat(inNumerator, inDenominator, out, true); in checkNativeAtan2piFloatFloatFloat()
75 inDenominator.destroy(); in checkNativeAtan2piFloatFloatFloat()
78 …esultsNativeAtan2piFloatFloatFloat(Allocation inNumerator, Allocation inDenominator, Allocation ou… in verifyResultsNativeAtan2piFloatFloatFloat() argument
84 inDenominator.copyTo(arrayInDenominator); in verifyResultsNativeAtan2piFloatFloatFloat()
95 args.inDenominator = arrayInDenominator[i]; in verifyResultsNativeAtan2piFloatFloatFloat()
[all …]
DTestRemquo.java49 public float inDenominator; field in TestRemquo.ArgumentsFloatFloatIntFloat
56 …Allocation inDenominator = createRandomAllocation(mRS, Element.DataType.FLOAT_32, 1, 0x4ff0c9312eb… in checkRemquoFloatFloatIntFloat() local
60 script.set_gAllocInDenominator(inDenominator); in checkRemquoFloatFloatIntFloat()
63 … verifyResultsRemquoFloatFloatIntFloat(inNumerator, inDenominator, outQuotient, out, false); in checkRemquoFloatFloatIntFloat()
72 scriptRelaxed.set_gAllocInDenominator(inDenominator); in checkRemquoFloatFloatIntFloat()
75 … verifyResultsRemquoFloatFloatIntFloat(inNumerator, inDenominator, outQuotient, out, true); in checkRemquoFloatFloatIntFloat()
82 inDenominator.destroy(); in checkRemquoFloatFloatIntFloat()
85 …ifyResultsRemquoFloatFloatIntFloat(Allocation inNumerator, Allocation inDenominator, Allocation ou… in verifyResultsRemquoFloatFloatIntFloat() argument
91 inDenominator.copyTo(arrayInDenominator); in verifyResultsRemquoFloatFloatIntFloat()
105 args.inDenominator = arrayInDenominator[i]; in verifyResultsRemquoFloatFloatIntFloat()
[all …]
DTestRemquo.rs26 float inDenominator = rsGetElementAt_float(gAllocInDenominator, x);
28 float out = remquo(inNumerator, inDenominator, &outQuotient);
34 float2 inDenominator = rsGetElementAt_float2(gAllocInDenominator, x);
36 float2 out = remquo(inNumerator, inDenominator, &outQuotient);
42 float3 inDenominator = rsGetElementAt_float3(gAllocInDenominator, x);
44 float3 out = remquo(inNumerator, inDenominator, &outQuotient);
50 float4 inDenominator = rsGetElementAt_float4(gAllocInDenominator, x);
52 float4 out = remquo(inNumerator, inDenominator, &outQuotient);
/cts/tests/tests/renderscript/src/android/renderscript/cts/
DCoreMathVerifier.java670 Target.Floaty inDenominator = t.newFloaty(denominator); in fmod() local
673 inNumerator.min() % inDenominator.min(), in fmod()
674 inNumerator.min() % inDenominator.max(), in fmod()
675 inNumerator.max() % inDenominator.min(), in fmod()
676 inNumerator.max() % inDenominator.max()); in fmod()
1207 args.out = atan2(args.inNumerator, args.inDenominator, t); in computeAtan2()
1217 args.out = atan2pi(args.inNumerator, args.inDenominator, t); in computeAtan2pi()
2041 Target.Floaty denominator = t.new32(args.inDenominator); in computeFmod()
2043 args.inNumerator % args.inDenominator, in computeFmod()
2488 args.out = atan2(args.inNumerator, args.inDenominator, t);
[all …]