Talk:Arithmetic/Rational: Difference between revisions

→‎Too long: Also agreed.
(Yep)
(→‎Too long: Also agreed.)
Line 6:
Another, separate task could focus on operator overloading. --[[User:Paddy3118|Paddy3118]] 12:58, 13 February 2009 (UTC)
:Agreed. This task should simply be about the definition of a rational type and maybe a couple of helper functions (like reduction). There should be no operator definition in this task. That is covered [[Matrix_exponentiation_operator|elsewhere]]. If you still want the operator functionality, then named functions would be preferred so the task isn't restricted to languages with operator definition. --[[User:Mwn3d|Mwn3d]] 13:47, 13 February 2009 (UTC)
::Actually, if you want the operator functionality, you should simply say "provide a means to do ''blah''," so that languages can use their idiomatic approach, be it operator overloading, function calls, etc. --[[User:Short Circuit|Short Circuit]] 16:06, 13 February 2009 (UTC)