and you want... what exactly?
I seen a sintence, and code... totally undescriptive.

Thanks,
Tyler Littlefield
email: [EMAIL PROTECTED]
web: tysdomain-com
Visit for quality software and web design.
skype: st8amnd2005

  ----- Original Message ----- 
  From: Pedro Izecksohn 
  To: [email protected] 
  Sent: Saturday, November 22, 2008 8:54 PM
  Subject: [c-prog] integer promotions


  If "The integer promotions preserve value including sign."

  #include <stdio.h>

  int main (void) {
  unsigned short int a;
  unsigned long long int b, c;
  a = -1;
  b = (a*a);
  c = ((unsigned int)a*(unsigned int)a);
  printf ("Why %llx != %llx ?\n", b, c);
  return 0;
  }



   

[Non-text portions of this message have been removed]

Reply via email to