ECMA-262, 9.5: Why the name “posInt”?

# Axel Rauschmayer (13 years ago)

Quote: “Let posInt be sign(number) * floor(abs(number)).”

Why is this variable called “posInt”? It can’t be an abbreviation for “positive integer”, because it can be negative(?)

# Allen Wirfs-Brock (13 years ago)

Just a bad name choice. You should file a bug at bugs.ecmascript.org