p3p.cpp:  d/x == d*(1/x) // 10x faster