Welcome, Guest. Please login or register.

Author Topic: StormC 64-bit arithmetic bug?  (Read 2151 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Cymric

  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 1031
    • Show all replies
Re: StormC 64-bit arithmetic bug?
« on: September 17, 2004, 09:15:03 AM »
Not sure whether this answer is of use, but I'll write it anyway. (I like to see myself write :-D.) According to the manpages of sprintf() on my Linux box, the 'L' modifier is only used in conjunction with long double. If you want to use the correct modifier for ints, one uses 'll' (ell-ell). And forgive me if I'm wrong here (I never use long longs), but shouldn't the declaration read 'long long int number'? Or does StormC understand that it is an int without explicitly writing it down?
Some people say that cats are sneaky, evil and cruel. True, and they have many other fine qualities as well.