Color spaces nightmares : gamut clipping, WTF ?

The easy fix for the PQ histogram (and color space too) is to divide by 100 in linear rgb before using the PQ equation.

As a simple hack with the exposure tool set to -6.643 EV the histogram is correct.