Home
last modified time | relevance | path

Searched refs:half_pi (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/src/Reactor/
DOptimalIntrinsics.cpp103 const Float4 half_pi(1.57079632f); in Asin_4_terms() local
109 …return As<Float4>(As<Int4>(half_pi - Sqrt(Float4(1.0f) - absx) * (a0 + absx * (a1 + absx * (a2 + a… in Asin_4_terms()
117 const Float4 half_pi(1.5707963268f); in Asin_8_terms() local
127 …return As<Float4>(As<Int4>(half_pi - Sqrt(Float4(1.0f) - absx) * (a0 + absx * (a1 + absx * (a2 + a… in Asin_8_terms()
149 const Float4 half_pi(1.57079632f); in Atan() local
151 …return As<Float4>(((O & As<Int4>(half_pi - theta)) | (~O & As<Int4>(theta))) ^ // FIXME: Vector s… in Atan()
159 const Float4 half_pi(1.57079632f); // pi/2 in Atan2() local
170 theta += As<Float4>(Q & As<Int4>(half_pi)); in Atan2()
183 …theta += As<Float4>((~zero_x & ~inf_y & ((O & As<Int4>(half_pi - atan2_theta)) | (~O & (As<Int4>(a… in Atan2()
/external/crcalc/tests/src/com/hp/creals/
DCRTest.java106 CR half_pi = CR.PI.divide(two); in testCR() local
115 check_eq(half_pi.sin(), one, "sin(pi/2) failed"); in testCR()
116 check_eq(asin.execute(one),half_pi, "asin(1) failed"); in testCR() local
118 half_pi.negate(), "asin(-1) failed"); in testCR()
/external/oboe/samples/RhythmGame/third_party/glm/gtx/
Dfast_trigonometry.inl50 if(angle < half_pi<T>())
54 if(angle < (T(3) * half_pi<T>()))
70 return fastCos<T>(half_pi<T>() - x);
/external/oboe/samples/RhythmGame/third_party/glm/gtc/
Dconstants.hpp61 GLM_FUNC_DECL GLM_CONSTEXPR genType half_pi();
Dconstants.inl45 GLM_FUNC_QUALIFIER GLM_CONSTEXPR genType half_pi() function
/external/swiftshader/src/Pipeline/
DShaderCore.cpp343 const Float4 half_pi(1.57079632f); in arcsin() local
349 …return As<Float4>(As<Int4>(half_pi - Sqrt(Float4(1.0f) - absx) * (a0 + absx * (a1 + absx * (a2 + a… in arcsin()
383 const Float4 half_pi(1.57079632f); in arctan() local
385 …return As<Float4>(((O & As<Int4>(half_pi - theta)) | (~O & As<Int4>(theta))) ^ // FIXME: Vector s… in arctan()
393 const Float4 half_pi(1.57079632f); // pi/2 in arctan() local
404 theta += As<Float4>(Q & As<Int4>(half_pi)); in arctan()
417 …theta += As<Float4>((~zero_x & ~inf_y & ((O & As<Int4>(half_pi - atan2_theta)) | (~O & (As<Int4>(a… in arctan()
/external/crcalc/src/com/hp/creals/
DCR.java920 static CR half_pi = PI.shiftRight(1); field in CR
950 return half_pi.subtract(this).cos(); in sin()
972 return half_pi.subtract(asin()); in acos()
/external/swiftshader/src/Shader/
DShaderCore.cpp359 const Float4 half_pi(1.57079632f); in arcsin() local
365 …return As<Float4>(As<Int4>(half_pi - Sqrt(Float4(1.0f) - absx) * (a0 + absx * (a1 + absx * (a2 + a… in arcsin()
399 const Float4 half_pi(1.57079632f); in arctan() local
401 …return As<Float4>(((O & As<Int4>(half_pi - theta)) | (~O & As<Int4>(theta))) ^ // FIXME: Vector se… in arctan()
409 const Float4 half_pi(1.57079632f); // pi/2 in arctan() local
420 theta += As<Float4>(Q & As<Int4>(half_pi)); in arctan()
433 …theta += As<Float4>((~zero_x & ~inf_y & ((O & As<Int4>(half_pi - atan2_theta)) | (~O & (As<Int4>(a… in arctan()
/external/mesa3d/src/imgui/
Dimgui_draw.cpp3014 …const float half_pi = IM_PI * 0.5f; // We will == compare to this because we know this is the exac… in RenderRectFilledRangeH() local
3021 else if (arc0_b == 0.0f && arc0_e == half_pi) in RenderRectFilledRangeH()
3041 else if (arc1_b == 0.0f && arc1_e == half_pi) in RenderRectFilledRangeH()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.cpp2112 Temp half_pi = bld.copy(bld.def(s1), Operand(0x3118u)); in visit_alu_instr() local
2113 Temp tmp = bld.vop2(aco_opcode::v_mul_f16, bld.def(v1), half_pi, src); in visit_alu_instr()
2117 Temp half_pi = bld.copy(bld.def(s1), Operand(0x3e22f983u)); in visit_alu_instr() local
2118 Temp tmp = bld.vop2(aco_opcode::v_mul_f32, bld.def(v1), half_pi, src); in visit_alu_instr()
/external/mesa3d/docs/relnotes/
D20.2.0.rst3837 - aco: fix half_pi constant for 16-bit fsin/fcos