[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use 'long long' integers in Rational class.

From: Neil Puttock
Subject: Re: Use 'long long' integers in Rational class.
Date: Thu, 18 Sep 2008 19:49:35 +0100

2008/9/18 Han-Wen Nienhuys <address@hidden>:
> Neil, could you also fix the warnings that this change generated?  You
> should use scm_from_int64, scm_to_int64 for conversions, otherwise
> we'll get truncations in various corner cases.

Sorry Han-Wen, I haven't seen any warnings.  Are they from Guile?

Should the typedef be changed to int64_t if we're using the above type
conversions, since they're for exact 64 bit integers?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]