Home
last modified time | relevance | path

Searched refs:Frac (Results 1 – 5 of 5) sorted by relevance

/external/llvm/unittests/ADT/
DAPFloatTest.cpp3077 APFloat Frac(APFloat::IEEEdouble); in TEST() local
3080 Frac = frexp(PZero, Exp, RM); in TEST()
3082 EXPECT_TRUE(Frac.isPosZero()); in TEST()
3084 Frac = frexp(MZero, Exp, RM); in TEST()
3086 EXPECT_TRUE(Frac.isNegZero()); in TEST()
3089 Frac = frexp(One, Exp, RM); in TEST()
3091 EXPECT_TRUE(APFloat(APFloat::IEEEdouble, "0x1p-1").bitwiseIsEqual(Frac)); in TEST()
3093 Frac = frexp(MOne, Exp, RM); in TEST()
3095 EXPECT_TRUE(APFloat(APFloat::IEEEdouble, "-0x1p-1").bitwiseIsEqual(Frac)); in TEST()
3097 Frac = frexp(LargestDenormal, Exp, RM); in TEST()
[all …]
/external/swiftshader/src/Shader/
DShaderCore.cpp1238 dst.x = Frac(src.x); in frc()
1239 dst.y = Frac(src.y); in frc()
1240 dst.z = Frac(src.z); in frc()
1241 dst.w = Frac(src.w); in frc()
1281 …T(dst.x, src.x) & Int4(1)) * Float4(2.0f)) - Float4(1.0f)) * Float4(CmpEQ(Frac(src.x), Float4(0.5f… in roundEven()
1282 …T(dst.y, src.y) & Int4(1)) * Float4(2.0f)) - Float4(1.0f)) * Float4(CmpEQ(Frac(src.y), Float4(0.5f… in roundEven()
1283 …T(dst.z, src.z) & Int4(1)) * Float4(2.0f)) - Float4(1.0f)) * Float4(CmpEQ(Frac(src.z), Float4(0.5f… in roundEven()
1284 …T(dst.w, src.w) & Int4(1)) * Float4(2.0f)) - Float4(1.0f)) * Float4(CmpEQ(Frac(src.w), Float4(0.5f… in roundEven()
1613 Float4 frc = Frac(src.x); in expp()
DSamplerCore.cpp1110 Float4 lod4 = Float4(Frac(lod)); in sampleFloatFilter()
1279 Float4 fu = Frac(Float4(As<UShort4>(uuuu0)) * *Pointer<Float4>(mipmap + OFFSET(Mipmap,fWidth))); in sampleFloat2D()
1280 … Float4 fv = Frac(Float4(As<UShort4>(vvvv0)) * *Pointer<Float4>(mipmap + OFFSET(Mipmap,fHeight))); in sampleFloat2D()
1353 Float4 fu = Frac(Float4(As<UShort4>(uuuu0)) * *Pointer<Float4>(mipmap + OFFSET(Mipmap,fWidth))); in sampleFloat3D()
1354 Float4 fv = Frac(Float4(As<UShort4>(vvvv0)) * *Pointer<Float4>(mipmap + OFFSET(Mipmap,fHeight))); in sampleFloat3D()
1355 Float4 fw = Frac(Float4(As<UShort4>(wwww0)) * *Pointer<Float4>(mipmap + OFFSET(Mipmap,fDepth))); in sampleFloat3D()
/external/swiftshader/src/Reactor/
DNucleus.hpp1911 RValue<Float> Frac(RValue<Float> val);
2403 RValue<Float4> Frac(RValue<Float4> x);
DNucleus.cpp6155 RValue<Float> Frac(RValue<Float> x) in Frac() function
6163 return Float4(Frac(Float4(x))).x; in Frac()
6778 RValue<Float4> Frac(RValue<Float4> x) in Frac() function
6800 return x - Frac(x); in Floor()