That’s what people with tribal knowledge like to say when they are really saying “I’m the only one who knows how this works, it 's hard to get rid of me.”
Why do I need to be polite to a computer? Who is ’?.1$#256’˜’#256$#256’? And just what is E275 DON’T BYTE OFF MORE THAN YOU CAN CHEW? All this and more on this episode of In The Program
Makes sense, how would you represent floor(1e42) or ceil(1e120) as integer? It would not fit into 32bit (unsigned) or 31bit (signed) integer. Not even into 64bit integer.
I feel this is worse than double though because it’s a library type rather than a basic type but I guess ceil and floor are also library functions unlike toInt
Logic, in math, if you have a real and you round it, it’s always a real not an integer. If we follow your mind with abs(-1) of an integer it should return a unsigned and that makes no sense.
in math, if you have a real and you round it, it’s always a real not an integer.
No, that’s made up. Outside of very specific niche contexts the concept of a number having a single well-defined type isn’t relevant in math like it is in programming. The number 1 is almost always considered both an integer and a real number.
If we follow your mind with abs(-1) of an integer it should return a unsigned and that makes no sense.
How does that not make sense? abs is always a nonnegative integer value, why couldn’t it be an unsigned int?
programmer_humor
Hot
This magazine is from a federated server and may be incomplete. Browse more on the original instance.