Low-Cost Floating-Point Processing in ReRAM for Scientific Computing