ADQL MOD

Marco Molinaro molinaro at oats.inaf.it
Tue Jul 5 15:31:46 CEST 2016


Dear Mark, DAL,
I think this is an erratum, with x and y switched in the description.
Cheers,
     Marco

2016-07-05 15:25 GMT+02:00 Mark Taylor <M.B.Taylor at bristol.ac.uk>:
> Dear DAL,
>
> table 1 of REC-ADQL-2.0 defines the MOD function thus:
>
>    Name        Arg type    Return type    Description
>    ---------   --------    -----------    -----------
>    mod(x, y)   double      double         Returns the remainder of y/x.
>
> but as far as I can see, SQL 2003 (I presume 92 as well) and all
> the TAP services that I generally use define the arguments the other
> way around, i.e.  returning the remainder of x/y.
>
> Am I misreading something or is this an erratum candidate?
>
> Mark
>
> --
> Mark Taylor   Astronomical Programmer   Physics, Bristol University, UK
> m.b.taylor at bris.ac.uk +44-117-9288776  http://www.star.bris.ac.uk/~mbt/


More information about the dal mailing list