Search:

Type: Posts; User: dorakura

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    5,819

    issue resolved

    It was a casting problem as pointed out above. I've made the following modifications and everything works now. Thank you so much for your help!



    int a, d;
    long b, c;
    double x; /* long double...
  2. Replies
    6
    Views
    5,819

    double division error (I get -0.0000)

    I'm using gcc on Linux.

    Whether I do this,



    printf(" x=%5.4f<br>",145348224945.0000/3330389019.0000);


    or this,
Results 1 to 2 of 2