Pages: « 1 2
  Print  
Author Topic: XOR DOES NOT WORK  (Read 4476 times)
Offline (Unknown gender) score_under
Reply #15 Posted on: July 30, 2009, 08:18:33 AM

Member
Joined: Aug 2008
Posts: 308

View Profile
(!!x^!!y) == (!x^!y) == (!x!=!y)
I know pi to a higher accuracy than my processor. Your argument is invalid.
Logged
Offline (Female) serprex
Reply #16 Posted on: July 31, 2009, 04:09:06 PM
Smooth ER
Developer
Joined: Apr 2008
Posts: 106

View Profile WWW
Processors are pretty inaccurate with pi if that's all you measure them by. Maybe if you could calculate arbitrary lengths of pi faster than your processor given enough memory (Paper is plentiful), I might care
Go blow a goat:
Code: [Select]
>>> f=lambda x,y:((not not x)^(not not y),(not x)^(not y),(not x)!=(not y))
>>> f(False,False),f(False,True),f(True,False),f(True,True)
((False, False, False), (True, True, True), (True, True, True), (False, False, False))
Logged
Offline (Male) RetroX
Reply #17 Posted on: August 01, 2009, 11:46:38 AM

Master of all things Linux
Contributor
Location: US
Joined: Apr 2008
Posts: 1055
MSN Messenger - classixretrox@gmail.com
View Profile Email
I know pi to a higher accuracy than my processor. Your argument is invalid.
But is it 32- or 64-bit?
Logged
My Box: Phenom II 3.4GHz X4 | ASUS ATI RadeonHD 5770, 1GB GDDR5 RAM | 1x4GB DDR3 SRAM | Arch Linux, x86_64 (Cube) / Windows 7 x64 (Blob)
Quote from: Fede-lasse
Why do all the pro-Microsoft people have troll avatars? :(
Offline (Female) serprex
Reply #18 Posted on: August 03, 2009, 12:05:18 PM
Smooth ER
Developer
Joined: Apr 2008
Posts: 106

View Profile WWW
It is quite probable to be 80 bit if it goes along with the 8087's extended precision
In either case, even 128 bits of pi is less accurate than 40 digits of pi. And that's assuming fixed point, not floating point. IEEE 754 128bit floating point only has 113 bits of precision
« Last Edit: August 03, 2009, 12:15:29 PM by serprex » Logged
Offline (Male) Josh @ Dreamland
Reply #19 Posted on: August 05, 2009, 11:05:57 AM

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2958

View Profile Email
Retro: Doubles are always 64 bits anyway. Long doubles are not though, so don't be fooled. I've seen long doubles of size 8, 12, 16... ung.
Serpy: Lambda kills kittens. I saw it. Don't use it.

Oh, and as serpy says, there are 10 byte doubles. But I've never actually seen one. score_under was telling me about an instruction for dealing with those a couple days ago, so I imagine they're somewhere. But since long double is 12 bytes anyway, there's really no need to be troubled with details of a 10 byte one.
« Last Edit: August 07, 2009, 08:19:15 PM by Josh @ Dreamland » Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Pages: « 1 2
  Print