Esempio n. 1
0
        public void FastStringBuilder_ShouldParseDouble()
        {
            var builder = new FastStringBuilder();

            builder.Append("1.2e-17");

            Assert.AreEqual(1.2e-17, builder.ParseDouble());
        }
Esempio n. 2
0
 public unsafe float ToReal()
 {
     return((float)StringBuilder.ParseDouble());
 }