Out of curiosity, I was looking to see if I can represent an IDT using CLF, but it seems like the answer is no. My math skills are rusty, so I just wanted to confirm if I’m looking at this right. For example to convert SLog3 to linear using the official IDT looks like this in CTL:

```
if (SLog >= 171.2102946929 / 1023.0) {
out = pow(10.0, (SLog*1023.0-420.0)/261.5)*(0.18+0.01)-0.01;
}
else {
out = (SLog*1023.0-95.0)*0.01125000/(171.2102946929-95.0);
}
```

In LaTeX form:

The CLF cameraLogToLin piecewise function is similar but seems like it cannot do this exactly.