Fixed bug in relying on precise FP in periodic sequence. am: d964e3b784
am: 539cb963f1

Change-Id: I08efbbf7765468d24057a68a860cdc5a234158e5