This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Re: Long Integer Multiple Error

Think you.
I modified my source :

        printf("%lu * %bu = ", N, M);
        printf("%lu\n", Freq);

        Freq=25690112L;
        printf("%lu * %bu = ", Freq, 4);
        Freq*=4;
        printf("%lu\n", Freq);


It work correctly.
but the Long Integer Multiple fault also.

Run Result:
24500000 * 4 = 4294926936
25690112 * 4 = 1568

Parents
  • "A SIMULATOR simulates and as such will NEVER give you the full (and correct) story"

    i not think you be right with NEVER!!!!!!

    a dedacated simulator for a specifec cpu is posssible to give correct story

    but point by me is that compiler probly do not have the bug whot he say before!!!

Reply
  • "A SIMULATOR simulates and as such will NEVER give you the full (and correct) story"

    i not think you be right with NEVER!!!!!!

    a dedacated simulator for a specifec cpu is posssible to give correct story

    but point by me is that compiler probly do not have the bug whot he say before!!!

Children