Wrote secure float that swaps values around memory