Rosetta Code:Village Pump/Suggest a programming task: Difference between revisions
Content added Content deleted
Thundergnat (talk | contribs) (→Multiple Mice: I am _extremely_ suspicious of someone whose first act after signing up is to dump a dozen links to commercial sites and private blogs. Remove links.) |
|||
Line 801: | Line 801: | ||
:That sounds like a good idea for a task which will particularly appeal to the 'old timers' amongst us. Why don't you create a draft task for it and add an implementation to start the ball rolling. |
:That sounds like a good idea for a task which will particularly appeal to the 'old timers' amongst us. Why don't you create a draft task for it and add an implementation to start the ball rolling. |
||
[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 08:14, 17 May 2020 (UTC) |
[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 08:14, 17 May 2020 (UTC) |
||
=== Modulo operation === |
|||
The table [[wp:Modulo_operation#In_programming_languages]] deserves to be somewhere on this site, with additional information and features. |
|||
In my own docs (for Phix) I have this (as a suggestion for the kind of info I think would be useful): |
|||
x,y: -9,-4 -9,+4 +9,-4 +9,+4 |
|||
remainder(x,y): -1 -1 +1 +1 |
|||
mod(x,y): -1 +3 -3 +1 -- (matches C's % operator) |
|||
I was thinking there could be checkboxes to filter the list to languages that can and cannot get the results you need/prefer, have an infix operator (or two), work on integers and floating point values or not, and probably something about precedence and associativity. |
|||
A table would clearly be better than a long list of individual entries, I know we can do sorting ([[Rosetta_Code/Count_examples/Full_list|eg]]), I don't know whether filtering is possible. --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 08:06, 29 March 2021 (UTC) |
|||
==Insufficient information== |
==Insufficient information== |