Division
Division comes in many flavors.
- Integer Division results in an integer. Any remainder is dropped.
- Floating-Point Division results in a float. There is some loss.
- Rational Division is lossless.
- Real Division is also lossless.
Division is typically represented with /
in all the languages I know. However, this may mean float division, rational division, or integer division given the context.
Python3k is going to eliminate the ambiquity.
Contents
C, C++
- /
Perl
- /
Python 2
- /
Python 3
- /
- //
Lisp
- /
- FLOOR