Merge "Fixed bug in relying on precise FP in periodic sequence." am: 9f7e91ca81
am: 5296ef3917

Change-Id: I7a96aec52d5c8aac4fb2baf80a0f6f8cd2b64a9a