you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 2 years ago* (last edited 2 years ago)

My comment wasn’t that clear. 1254 is with a 90% reduction and the example question about atol’s behavior was just an example. I looked it up earlier that day but was unable to find it using Google.

atol is a C/C++ function that takes in a char pointer and returns a long. I was trying to figure out if it would gracefully stop when it encountered non-numeric characters, if it would skip them or if it would cause undefined behavior.

  • source
  • parent