Timeline for How to add an "int" to a "float" in the B programming language?
Current License: CC BY-SA 4.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 24, 2019 at 10:07 | comment | added | dave | As a general observation, if the language is typeless, then an operator-symbol denotes a single operation (where in a typed language '+' for example denotes a number of different-but-similar operations), and it devolves to the programmer to select the appropriate operator to achieve his desired effect. | |
| Apr 24, 2019 at 3:03 | answer | added | user722 | timeline score: 14 | |
| Apr 24, 2019 at 1:56 | comment | added | user13423 | @Erik Eidt Oh! sorry, I assumed that float literals are supported. | |
| Apr 24, 2019 at 1:25 | review | First posts | |||
| Apr 24, 2019 at 6:02 | |||||
| Apr 24, 2019 at 1:24 | comment | added | Erik Eidt | Do you have a reference that says constants can be formed using a decimal point? The grammar (bell-labs.com/usr/dmr/www/kbman.html) I'm looking at doesn't allow . in numbers, which tells me that B doesn't have a notion of floating point types. | |
| Apr 24, 2019 at 1:17 | history | asked | user13423 | CC BY-SA 4.0 |