double to qreal conversion for ARM