Thread Links Date Links
Thread Prev Thread Next Thread Index Date Prev Date Next Date Index

Re: Division in Draft Standard Text, V02.1



Arnold Neumaier reminded me of the divisionWithGap() function in
the Vienna proposal.  My suggestion of using two functions Divn
and Divp was motivated by the difficulty of returning TWO things
in certain programming languages (typically one or both have to
be set by reference).

The same approach could be used with Arnold's approach, where the
existing divideHull() would be paired with a new divideGap().  It
would be up to the compiler to avoid doing two divisions when the
two functions are used side-by-side.

Michel.

---Sent: 2010-03-17 16:36:46 UTC