aboutsummaryrefslogtreecommitdiff
path: root/lib/if2ip.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-11-25 13:51:55 +0100
committerYang Tse <yangsita@gmail.com>2011-11-25 13:51:55 +0100
commit97d7a9260e4f2f335b3632180877c25e0efdc8e3 (patch)
tree41e91cd18bb9bb781a209a7a7edefde116a09528 /lib/if2ip.c
parent4a4d04446da7b11c7c360d18bfd115a573001cde (diff)
tvdiff_secs(): sub-zero time difference adjustment
Skip a floating point addition operation when integral part of time difference is zero. This avoids potential floating point addition rounding problems while preserving decimal part value.
Diffstat (limited to 'lib/if2ip.c')
0 files changed, 0 insertions, 0 deletions