fix #1606 adjusted rand mapping
use the E notation for small values in double formatting