Well thats it...

We tried dividing or modulus like

uint64_t a=u64_constant, b= u64_constant;c;

c = a/b;                 // err

c=a%1000;          // err


El dl 03 de 04 del 2006 a les 19:54 +0200, en/na N. Coesel va escriure:
> At 20:22 03-04-06 +0400, you wrote:
> >hm...
> >it works in my case...
> >any example?
> >~d
> 
> The problem I had with Mingw32 was when multiplying or dividing 2 64 bit
> operants, the result wasn't correct. I bypassed the problem by making one
> operant 32 bit and then it worked.
> 
> >On Monday 03 April 2006 20:09, N. Coesel wrote:
> >> At 17:33 03-04-06 +0200, you wrote:
> >> >Hello list
> >> >
> >> >what kind of operations are available using 64 bit operands on mspgcc?
> >> >
> >> >I mean it, because I tried some, like modulus, etc and results look bad.
> >> >
> >> >Should I be aware of zny limitation with 64 bit arithmetics in msp430 gcc?
> >> >
> >> >cheers
> >>
> >> I've had some problems with 64 bit operations in the past with GCC (Mingw)
> >> for the Windows platform. Perhaps this is a generic GCC problem.
> >>
> >> Nico Coesel
> >>
> >>
> >>
> >> -------------------------------------------------------
> >> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> >> that extends applications into web and mobile media. Attend the live
> >> webcast and join the prime developer group breaking into this new coding
> >> territory!
> >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> >> _______________________________________________
> >> Mspgcc-users mailing list
> >> Mspgcc-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
> >
> >
> >-------------------------------------------------------
> >This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> >that extends applications into web and mobile media. Attend the live webcast
> >and join the prime developer group breaking into this new coding territory!
> >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> >_______________________________________________
> >Mspgcc-users mailing list
> >Mspgcc-users@lists.sourceforge.net
> >https://lists.sourceforge.net/lists/listinfo/mspgcc-users
> >
> >
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting language
> that extends applications into web and mobile media. Attend the live webcast
> and join the prime developer group breaking into this new coding territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users


Reply via email to