Git Product home page Git Product logo

Comments (5)

floitsch avatar floitsch commented on May 7, 2024

I will see if setting the default to false always works.

In the meantime, here is how to test it (from memory):
Create two files and compile them separately:

// div.c
double Div_double(double x, double y) { return x / y; }
// main.c
double Div_double(double x, double y);

int main(int argc, char** argv) {
  return Div_double(89255.0, 1e22) == 89255e-22;
}

Compile them separately and link the o-files.
./main || echo "correct" should now tell you whether the conversion is correct.

If you get "correct" as result, we can just add the new architectures to the "good" list; otherwise to the "bad" list.
If all tests pass, that should be enough.

from double-conversion.

tpetazzoni avatar tpetazzoni commented on May 7, 2024

Thanks for the quick feedback. I can run the tests, but I only have access to Qemu emulation for those architecctures ? Is it a good enough test or do you need a test on real hardware ?

from double-conversion.

floitschG avatar floitschG commented on May 7, 2024

Ideally I would test on real hardware, but I assume that the emulator does the right thing. (Otherwise programs wouldn't work).

from double-conversion.

pseiderer avatar pseiderer commented on May 7, 2024

Added double-conversion support for the Qt5 (bundled double-converison library) buildroot cross-compile (aarch64_be [1], or1k [2][3], microblazeel/microblazebe [4]) lately, see the links for the
corresponding architecture defines and (qemu only) Div_double tests...

[1] http://lists.busybox.net/pipermail/buildroot/2018-August/227675.html
[2] http://lists.busybox.net/pipermail/buildroot/2018-August/228151.html
[3] http://lists.busybox.net/pipermail/buildroot/2018-August/228150.html
[4] http://lists.busybox.net/pipermail/buildroot/2018-August/228543.html

from double-conversion.

floitsch avatar floitsch commented on May 7, 2024

Thanks.
I updated the header.
Note that the file had already changed, and that your (@pseiderer ) patches will now be conflicting.

from double-conversion.

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.