Re: Request: Integer Division

new topic     » goto parent     » topic index » view thread      » older message » newer message
eukat said...
jimcbrown said...

This really should be in a Request-for-Feature ticket, but...

It's funny how the unintuitive system for requesting features isn't used. Where is it?

Here: http://openeuphoria.org/ticket/index.wc?per_page=20&page=1&type_id=2&category_id=-1&milestone=&severity_id=-1&status_id=-1&user_id=-1&actiontype=New+Ticket

eukat said...
jimcbrown said...

I think the syntax is the most contriversal part here.

Maybe you meant "controversial",

I did.

eukat said...

which is pronounced like it is spelled. If you are mispronouncing it, and then phonetically spelling it out, maybe you get "contriversal", but you might get "butterfly" too. I once watched and listened to a local human in the library try to look up "butterfly" by using phonetics, after 5 minutes she said out loud that maybe the 'b' was supposed to be silent, and spelled it out "atrfli", and began looking it up in the card catalog under 'a'.

Nope. It was just a simple typo. (Unlike a similar example in one of your recent posts, http://openeuphoria.org/forum/m/120272.wc - which I consider hypocritical considering your reaction in http://openeuphoria.org/forum/m/117914.wc )

eukat said...
SnakeCharmer said...
integer X = integer_division(Y,Z) 

I see no gain there. You are doing more typing, remembering a new keyword, spending more of your time, and possibly taking more cpu time to set up and execute.

The point of adding a new integer_division() would be to take less cpu time to set up and execute (as compared to the existing intdiv() in std/math.e which is slower as it involves conversion to and operations with floating point numbers).

I wanted to just use the name intdiv() (since that's less typing than integer_division) which saves human time too - but that was already taken. I'm open to alternatives, though. idiv() perhaps?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu