Jump to content

  • Log In with Google      Sign In   
  • Create Account


Quadruple Precision Floating-Point Library


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 coder0xff   Members   -  Reputation: 225

Like
1Likes
Like

Posted 04 September 2010 - 02:31 PM

I've written emulation for quadruple precision floats (IEEE-754-2008 binary128) in C++ and inline assembler, with a managed wrapper (for .Net languages). I understand the usefulness for this is very narrow, but wanted to share it anyway.

The reason I made this (for my own use) is that it has enough precision to represent each micrometer of the width of our observable universe. I've also included Log, Ln, Exp, Pow, Sin, Cos, Tan, ASin, ACos, ATan, ATan2, Ceiling, Floor, Round, Truncate, and Fraction. It also has Pi and E to full quadruple precision.

https://sourceforge.net/projects/qpfloat/

Edited by coder0xff, 01 August 2011 - 05:21 PM.


Sponsor:

#2 taby   Members   -  Reputation: 335

Like
0Likes
Like

Posted 04 September 2010 - 02:43 PM

This is excellent. I'm always looking for large precision libraries to try out.

I kid you not... the project I'm working on involves a 3-sphere of radius 1e25 metres. I'm sure you can guess what that would be. ;)

#3 coder0xff   Members   -  Reputation: 225

Like
0Likes
Like

Posted 01 August 2011 - 05:24 PM

New 0.5b version on SourceForge, including bug fixes, and new Min and Max functions. Pretty near to calling it stable.
Two things are infinite: the universe and human stupidity; and Im not sure about the universe. -- Albert Einstein

#4 Álvaro   Crossbones+   -  Reputation: 12450

Like
0Likes
Like

Posted 01 August 2011 - 06:38 PM

This is excellent. I'm always looking for large precision libraries to try out.

I kid you not... the project I'm working on involves a 3-sphere of radius 1e25 metres. I'm sure you can guess what that would be. ;)


Hmmm... I don't know... one tenth of the observable universe? :)

#5 Emergent   Members   -  Reputation: 971

Like
1Likes
Like

Posted 02 August 2011 - 07:33 AM

I kid you not... the project I'm working on involves a 3-sphere of radius 1e25 metres. I'm sure you can guess what that would be. ;)


It's an elaborate yo momma joke.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS