3 Nov
2009
3 Nov
'09
5:28 p.m.
The documentation for modf states that d == sec + mksec. This means that mksec is a fractional number and not a whole number. The pt::microseconds expects whole numbers of microseconds.
Sorry, of course, you have to multiply the fractional part by some factor (1000000?)