All pastes #498106 Raw Edit

Chao7

public cpp v1 · immutable
·published 2007-05-20 06:09 UTC
rendered paste body
const float cPi = 3.14159265; // 3.14159274const float4 ePi = float4(	3.14159e-00,	2.65358e-06,	9.79323e-12,	8.46264e-18);const float getPi_dp24() {    float rPi;    rPi = ePi[0] +          ePi[1] +          ePi[2] +          ePi[3] ;    return rPi;}const float getPi_dp18() {    float rPi;    rPi = ePi[0] +          ePi[1] +          ePi[2] ;    return rPi;}const float getPi_dp12() {    volatile float rPi;    rPi = ePi[0] +          ePi[1] ;    return rPi;}float4 main( ) : COLOR0 {    return float4( getPi_dp18(), getPi_dp18(), getPi_dp18(), getPi_dp18() );}