Any languages able to program (0,1] mathematical interval
|
04-29-2017, 07:29 PM
Post: #10
|
|||
|
|||
RE: Any languages able to program (0,1] mathematical interval
(04-28-2017 09:23 PM)pier4r Wrote:(04-28-2017 01:56 PM)StephenG1CMZ Wrote: Alternatively, is there a different way of writing such an interval concisely, yet making which is included/excluded clearer. I can see that that would be less easy to skip over or mistype than "=". I can imagine times when being able to copy the (0,9] syntax in a spec into the code would make it clearer that the code limits match the spec. On the other hand when implementing and debugging the code, the <= syntax or your separate < and = make it clearer what the code is doing (when (0,9] is used infrequently). Stephen Lewkowicz (G1CMZ) https://my.numworks.com/python/steveg1cmz |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)