Thanks Derek!
Best regards,
Luis

On Mon, Feb 16, 2015 at 05:01:09PM -0700, Derek Lamb wrote:
> Hi Luis,
> 
> I have just pushed a commit to the main git master branch that fixes this 
> problem on my machine.  Please check it out if you're able and let the list 
> know if you still experience this weird problem with modulo for longlong 
> operands.
> 
> Thanks for brining this to our attention.
> 
> best,
> Derek
> 
> > On Feb 16, 2015, at 3:58 PM, Luis Mochan <moc...@fis.unam.mx> wrote:
> > 
> > Thanks Chris. Nevertheless, I believe it is a different error, as it
> > manifest itself for very small values such as 10 and 5 in this example:
> >  pdl> p 10%5
> >  0 
> >  pdl> p longlong(10)%longlong(5)
> >  45219840 
> >  pdl> p longlong(10)/longlong(5)
> >  2 
> > The quotient is correct, but the remainder isn't.
> > 
> > Best regards,
> > Luis
> > 
> > 
> > On Mon, Feb 16, 2015 at 05:41:00PM -0500, Chris Marshall wrote:
> >> Hi Luis-
> >> 
> >> I think you are tickling one of the known issues
> >> with proper longlong type support in PDL.  Here
> >> is the original bug report (but I don't know if
> >> your problem comes about in exactly the same fashion).
> >> At any rate, it is definitely a wart on the longlong
> >> support.
> >> 
> >>   http://sourceforge.net/p/pdl/bugs/343/
> >>   #343 longlong constructor and display lose digits due to implicit double
> >> precision conversions
> >> 
> >> Regards,
> >> Chris
> > 
> > -- 
> > 
> >                                                                  o
> > W. Luis Mochán,                      | tel:(52)(777)329-1734     /<(*)
> > Instituto de Ciencias Físicas, UNAM  | fax:(52)(777)317-5388     `>/   /\
> > Apdo. Postal 48-3, 62251             |                           (*)/\/  \
> > Cuernavaca, Morelos, México          | moc...@fis.unam.mx   /\_/\__/
> > Consider using GnuPrivacyGuard https://www.gnupg.org/
> > My key: 791EB9EB, C949 3F81 6D9B 1191 9A16  C2DF 5F0A C52B 791E B9EB, yours?
> > 
> > 
> > 
> > 
> > _______________________________________________
> > Perldl mailing list
> > Perldl@jach.hawaii.edu
> > http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
> 
> 

-- 

                                                                  o
W. Luis Mochán,                      | tel:(52)(777)329-1734     /<(*)
Instituto de Ciencias Físicas, UNAM  | fax:(52)(777)317-5388     `>/   /\
Apdo. Postal 48-3, 62251             |                           (*)/\/  \
Cuernavaca, Morelos, México          | moc...@fis.unam.mx   /\_/\__/
GPG: 791EB9EB, C949 3F81 6D9B 1191 9A16  C2DF 5F0A C52B 791E B9EB



_______________________________________________
Perldl mailing list
Perldl@jach.hawaii.edu
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to