Doubling map (source code)

= Doubling map
{wiki=Dyadic_transformation}

The doubling map on the unit circle is
$$
F(x)=2x\pmod1.
$$
It is chaotic in Devaney's sense.