[Plain text] Lars, Looking at the macro IIO_DEGREE_TO_RAD() to translate degree/s into rad/s, I don't understand why we add an offset when doing the conversion: #define IIO_DEGREE_TO_RAD(deg) (((deg) * 314159ULL + 9000000ULL) / 18000000ULL) Shouldn't it just be #define IIO_DEGREE_TO_RAD(deg) (((deg) * 314159ULL) / 18000000ULL) Gwendal. -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html