An involution of reals, discontinuous on rationals, and whose derivative vanishes a.e.

We study the involution of the real line, induced by Dyer's outer automorphism of PGL(2,Z). It is continuous at irrationals with jump discontinuities at rationals. We prove that its derivative exists almost everywhere and vanishes almost everywhere.