LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

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

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


Hey,
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!

Thanks!

Best,
Adwait

P.S: I'm using gcc version 4.6.1 if that helps.
 
Old 05-17-2012, 10:39 AM   #2
pan64
Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 5,026

Rep: Reputation: 1324Reputation: 1324Reputation: 1324Reputation: 1324Reputation: 1324Reputation: 1324Reputation: 1324Reputation: 1324Reputation: 1324Reputation: 1324
http://packages.python.org/bigfloat/
 
  


Reply


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 08:41 PM
Python: Change precision of a number Neruocomp Programming 1 02-03-2006 01:57 AM
How to convert a float to its binary or hex representation in Python? zero79 Programming 1 09-01-2005 11:19 AM
Best Python float array library? zero79 Programming 0 08-31-2005 06:25 PM
How to convert a float to its binary or hex representation in Python? zero79 Linux - Software 1 08-29-2005 10:30 PM


All times are GMT -5. The time now is 10:20 AM.

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