Timeline for Is there a programming language where 1/6 behaves the same as 1.0/6.0?
Current License: CC BY-SA 3.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 9, 2012 at 18:18 | comment | added | Mason Wheeler | @Pouya: This behavior is standard for the Pascal family. / always produces a floating-point value, and a separate operator (div) is used for integer division. | |
| Aug 9, 2012 at 8:22 | comment | added | Pouya | Thanks. Any other programming languages do you have in you mind? Basic family maybe? | |
| Aug 9, 2012 at 8:10 | history | answered | sepp2k | CC BY-SA 3.0 |