Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is this equivalent?

  for(a=1; a < (NbrOfAs*NbrOfAAs*NbrOfAAAs*NbrOfAAAAs*NbrOfAAAAAs); a++){
    ExamineAAAAA()
  }
Or do I need a nap?


In most languages, it is not guaranteed to do the same thing; the multiplication may overflow.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: