Re: [dev] libzahl paper

From: Mattias Andrée <maandree_AT_kth.se>
Date: Tue, 14 Jun 2016 00:38:25 +0200

On Mon, 13 Jun 2016 18:18:39 -0400
Calvin Morrison <mutantturkey_AT_gmail.com> wrote:

> Quote:
>
> zdivmod Calculates the quotient and the remainder. This
> is available because when you calculate the quotient you
> get the remainder for free. zdiv and zmod simply call
> zdivmod with the dummy variable as one of the output
> variables.
>
> Why include a wrapper at all? Why not just allow the user
> to access the function directly, allowing them to choose?
> is this just for API use of ease?

I haven't actually considered if it is truly necessary.
The user programs will just require two extra lines.

I made wrappers because zdivmod does requires neither
the quotient output nor the remainder output is NULL,
and all libraries does not div and mod.

This is something I'll have to consider.


>
> On 13 June 2016 at 18:10, Staven <staven_AT_staven.pl> wrote:
> > On Mon, Jun 13, 2016 at 11:32:11PM +0200, Mattias
> > Andrée wrote:
> >> Too energy efficient to open the PDF and
> >> read the abstract? No worries, here it is:
> >
> > You're a good person.
> >
> >
>


Received on Tue Jun 14 2016 - 00:38:25 CEST

This archive was generated by hypermail 2.3.0 : Tue Jun 14 2016 - 00:48:11 CEST