FLOG#

Format: FLOG dest, source.

Phase0: FLOG W0{.F16.E0.E1}, S0{.F16.E0|.F16.E1}{.ABS}{.NEG}

Phase1: -

Phase2: -

Description:

W0 = log2(S0)

Special cases:

log2(Any NaN) = +NaN
log2(+INF) = +INF
log2(+/-0) = -INF
log2(-X) = +NaN
log2(1.0) = +0.0

Example:

void main()
{
    fragColor = log2(a);
}
0    : flog r0, sh0