@TestClass(value="org.openscience.cdk.math.FortranFormatTest") public class FortranFormat extends Object
A modified version of the atof
method provided in the Core Java
books by Cay S. Horstmann & Gary Cornell. The main difference
here is that we scan for Fortran double precision characters
('D' and 'd') which often cause the C versions of atof to
barf.
Constructor and Description |
---|
FortranFormat() |
@TestMethod(value="testAtof_String") public static double atof(String s)
s
- a string denoting a doubleCopyright © 2014. All Rights Reserved.