Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #66355

Question on using FP numbers in python 2

From Gene Heskett <gheskett@wdtv.com>
Subject Question on using FP numbers in python 2
Date 2014-02-14 22:25 -0500
Newsgroups comp.lang.python
Message-ID <mailman.6953.1392434770.18130.python-list@python.org> (permalink)

Show all headers | View raw


Greetings;

Is there something I can search for and fix in some python code that is 
giving me bogus answers that get good only when there is a valid digit to 
the left of the decimal point?

Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

NOTICE: Will pay 100 USD for an HP-4815A defective but
complete probe assembly.

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Question on using FP numbers in python 2 Gene Heskett <gheskett@wdtv.com> - 2014-02-14 22:25 -0500
  Re: Question on using FP numbers in python 2 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-02-15 04:26 +0000
    Re: Question on using FP numbers in python 2 Gene Heskett <gheskett@wdtv.com> - 2014-02-15 00:07 -0500
      Re: Question on using FP numbers in python 2 Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2014-02-15 15:27 +0000
        Re: Question on using FP numbers in python 2 Gene Heskett <gheskett@wdtv.com> - 2014-02-15 12:27 -0500
    Re: Question on using FP numbers in python 2 Chris Angelico <rosuav@gmail.com> - 2014-02-15 16:28 +1100
  Re: Question on using FP numbers in python 2 Grant Edwards <invalid@invalid.invalid> - 2014-02-15 04:35 +0000
  Re: Question on using FP numbers in python 2 Gene Heskett <gheskett@wdtv.com> - 2014-02-15 00:50 -0500
  Re: Question on using FP numbers in python 2 Chris Angelico <rosuav@gmail.com> - 2014-02-15 17:08 +1100

csiph-web