From bug-request at octave dot org Thu Jan 27 11:52:48 2005 Subject: Re: dec2base From: "John W. Eaton" To: David dot Bateman at motorola dot com Cc: "John W. Eaton" , Paul Kienzle , Yassine Boujelben , Andre Girard , bug-octave@bevo.che.wisc.edu Date: Thu, 27 Jan 2005 12:56:16 -0500 On 27-Jan-2005, David Bateman wrote: | This version will fail for me for the case dec2base(2^51-1,2), and | results in an additional 0 in the string. There are probably many | similar cases that are less drastic. Given that it is the "-1" in this | case does change the value of the log, I see no solution, but the one I | proposed. Though correct me if I'm wrong. OK, I've used David's patch instead, and added the dec2base(2^51-1,2) test at the end of the file. Thanks, jwe ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------