Avicenna@programming.dev to Programmer Humor@programming.dev · edit-23 天前How would you like to pay your NaN pounds?programming.devimagemessage-square38fedilinkarrow-up1304file-text
arrow-up1304imageHow would you like to pay your NaN pounds?programming.devAvicenna@programming.dev to Programmer Humor@programming.dev · edit-23 天前message-square38fedilinkfile-text
minus-squarecopacetic@discuss.tchncs.delinkfedilinkEnglisharrow-up19·3 天前“I have five pounds. Is that enough?” “No.” “It costs more than five pounds?” “No.” “How much do I have to pay?” “This is NaN pounds.” “That means it costs more than five pounds?” “No.” “It costs less than five pounds?” “No.” “Exactly five pounds?” “No.” leaves the shop (Remember, comparison with NaN is always false)
“I have five pounds. Is that enough?”
“No.”
“It costs more than five pounds?”
“No.”
“How much do I have to pay?”
“This is NaN pounds.”
“That means it costs more than five pounds?”
“No.”
“It costs less than five pounds?”
“No.”
“Exactly five pounds?”
“No.”
leaves the shop
(Remember, comparison with NaN is always false)