float/long double support in Duration