  We propose a novel clock skew compensation algorithm based on Bresenham's
line drawing algorithm. The proposed algorithm can avoid the effect of limited
floating-point precision (e.g., 32-bit single precision) on clock skew
compensation and thereby provide high-precision time synchronization even with
resource-constrained sensor nodes in wireless sensor networks.
