Improve {ntoh,hton}{d,f} signatures

Use uint as storaget