2 ms·
Huh. I never heard it called that before. My background is in math so I always though of it in terms of the sign function: http://en.wikipedia.org/wiki/Sign_f
by jfarmer 18y ago
Huh. I never heard it called that before.
My background is in math so I always though of it in terms of the sign function: http://en.wikipedia.org/wiki/Sign_function http://en.wikipedia.org/wiki/Sign_function
spaceship(x,y) = sign(x-y), for numbers, anyhow.
- jrockway 18y agoFWIW, Larry Wall calls it the Spaceship Operator in "Programming Perl".