Giter Site home page Giter Site logo

float parser about fastdoubleparser HOT 4 CLOSED

wrandelshofer avatar wrandelshofer commented on June 27, 2024
float parser

from fastdoubleparser.

Comments (4)

lemire avatar lemire commented on June 27, 2024

Note that the C# equivalent has such functions (float support). See https://github.com/CarlVerret/csFastFloat

from fastdoubleparser.

wrandelshofer avatar wrandelshofer commented on June 27, 2024

I have now refactord the code a bit, and added a new class FastFloatParser.

It should do now what you want. 😅

% jshell --module-path out --add-modules ch.randelshofer.fastdoubleparser
|  Welcome to JShell -- Version 18.0.1
|  For an introduction type: /help intro

jshell> import ch.randelshofer.fastdoubleparser.*

jshell> FastFloatParser.parseFloat("7.006492321624086e-46")
$2 ==> 1.4E-45

jshell> 

from fastdoubleparser.

pjfanning avatar pjfanning commented on June 27, 2024

Thanks @wrandelshofer - I'll try it out over next few days

from fastdoubleparser.

pjfanning avatar pjfanning commented on June 27, 2024

I'll close this - so far, looks good to me - thanks

from fastdoubleparser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.