Post Reply 
Integer Division
03-06-2014, 10:31 AM
Post: #4
RE: Integer Division
I was hoping to find a SINGLE character that would implement integer division. I was working with a compound expression requiring multiple integer divides, and that expression gets very l-o-o-o-n-g, with the varieties of ixxx(blah,blah) discovered so far.

Some languages use the backslash character, providing a very short solution to integer division.

Example: 5\2=2, integer version.
5/2=2.5 exact version.

(I did try to DEFINE the backslash character for this use, but \ is an invalid name input.)

-Dale-
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Integer Division - DrD - 03-05-2014, 09:29 PM
RE: Integer Division - Mark Hardman - 03-05-2014, 10:39 PM
RE: Integer Division - Terje Vallestad - 03-05-2014, 10:40 PM
RE: Integer Division - DrD - 03-06-2014 10:31 AM
RE: Integer Division - Joe Horn - 03-06-2014, 11:44 AM



User(s) browsing this thread: 1 Guest(s)