Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


Search this Thread
Old 05-17-2012, 09:19 AM   #1
LQ Newbie
Registered: May 2012
Posts: 14

Rep: Reputation: Disabled
Increasing the precision of float on python

I'm using ubuntu 11.10 with python 2.7
In my application I require very precise floating point numbers. The current precision is too less for me to get any meaningful results.

I heard that the precision could be changed by making requisite changes in the linux software.

Is it doable? If so could anyone help me with that?
Any help would be greatly appreciated!



P.S: I'm using gcc version 4.6.1 if that helps.
Old 05-17-2012, 09:39 AM   #2
Senior Member
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 4,719

Rep: Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261Reputation: 1261


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
#define a float : which precision? tanoatlq Programming 5 09-27-2008 07:41 PM
Python: Change precision of a number Neruocomp Programming 1 02-03-2006 12:57 AM
How to convert a float to its binary or hex representation in Python? zero79 Programming 1 09-01-2005 10:19 AM
Best Python float array library? zero79 Programming 0 08-31-2005 05:25 PM
How to convert a float to its binary or hex representation in Python? zero79 Linux - Software 1 08-29-2005 09:30 PM

All times are GMT -5. The time now is 06:51 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration