Giter Club home page Giter Club logo

Comments (4)

aclex avatar aclex commented on May 27, 2024

Thanks for trying my project, Peter. Didn't even think anyone but me used it.

In fact it wasn't thoroughly tested on Windows, but I just tested this use case there, and it's apparently a bug which GCC just forgives.

There should be:
while (!(m_f & hidden_bit<original_matissa_bit_width - 1>()))
but roundtrip test fails with this. So, you can just hotfix it for you this way while I'm looking deeper into it to find a proper fix.

from floaxie.

aclex avatar aclex commented on May 27, 2024

Peter, I've just pushed a fix for this, it's indeed something that VS warned of. Many thanks for the reporting!

from floaxie.

peterritter avatar peterritter commented on May 27, 2024

Hi Alexey

Thanks for fixing this. I am using a heavily modified version of the json11 library by dropbox. They have a bug in there which makes floating point conversion locale dependent. So I was trying to fix this in my version. After problems with your code I lifted the code from the rapidjson project. Sorry about that. You never know if people respond to bug reports right away.

Are you a software consultant? If so, send me an email at [email protected]

best Regards, Peter

from floaxie.

aclex avatar aclex commented on May 27, 2024

Yes, no problem) I used and looked at rapidjson code quite thoroughly and it just worked flawlessly for me, so I hope it would help you, too.
In fact, this project is also started because of number parsing in JSON library, another my project, Peli (https://github.com/aclex/peli). I wish I could suggest it to you, but I'm afraid it's currently not production ready, too. I'm a little bit stuck with atof-part of floaxie, sort of created a special algorithm for it, and it's always tricky thing.

I'm actually not a software consultant, just a developer, but if you have any questions concerning this field, feel free to ask at [email protected].

from floaxie.

Related Issues (2)

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.