More precision
The classes
The classes
When
Manipulation on second and fractional_second are in fact always made through fine_second. Users who do not want to deal with precision do not need to care about this.
Features dealing with
Creation (common to TIME, TIME_DURATION )
-
make_fine is similar tomake except that it takes aDOUBLE for its third argument (instead of anINTEGER , as is the case withmake ).fine_second is then set to this value. -
make_by_fine_seconds is similar tomake_by_seconds except that it takes aDOUBLE for an argument (instead of anINTEGER , as is the case withmake_by_seconds ).
Measurement and access
In
-
fine_seconds looks like seconds but it contains fractions.
In
-
fine_seconds_count looks likeseconds_count but it contains fractions.
Element change
- Set
fine_second directly withset_fine_second . - Set
fractional_second directly withset_fractionals .
Operations
-
fine_second_add looks likesecond_add except that it takes aDOUBLE as an argument.