737
near zero (mander.xyz)
you are viewing a single comment's thread
view the rest of the comments
[-] PlexSheep@infosec.pub 13 points 4 months ago

What do you mean? In two's complement, there is only one zero.

[-] yetAnotherUser@feddit.de 39 points 4 months ago

IEEE 754 floating point numbers have a signed bit at the front, causing +0 and -0 to exist.

[-] henfredemars@infosec.pub 18 points 4 months ago

Specifically I was referring to standard float representation which permits signed zeros. However, other comments provide some interesting examples also.

[-] hungrybread@hexbear.net 4 points 4 months ago
[-] mexicancartel@lemmy.dbzer0.com 4 points 4 months ago
[-] hungrybread@hexbear.net 2 points 4 months ago

I assume no one at this point

[-] mexicancartel@lemmy.dbzer0.com 3 points 4 months ago

I think 1's complement only existed to facilitate 2's complement. Otherwise its stupid

[-] sus@programming.dev 4 points 4 months ago
[-] Zerush@lemmy.ml 2 points 4 months ago
[-] PlexSheep@infosec.pub 2 points 4 months ago

Floating point numbers are not possible in two's complement, besides that, what is your point? 0,99999999... is probably the same as 1.

[-] Zerush@lemmy.ml 2 points 4 months ago

Yes, mathematically it's the same, but in physics there's a guy named Heisenberg who denies that 0.99999... really gets to 1. There is always this difference, for a mathematician infinite is not a problem, but for a physicist it is, plus a very big one.

[-] PlexSheep@infosec.pub 2 points 4 months ago

True, it sounds like that might be a problem if we consider that physics has to be between math and computer science.

(Have a nice day)

this post was submitted on 18 May 2024
737 points (98.0% liked)

Science Memes

10356 readers
2119 users here now

Welcome to c/science_memes @ Mander.xyz!

A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.



Rules

  1. Don't throw mud. Behave like an intellectual and remember the human.
  2. Keep it rooted (on topic).
  3. No spam.
  4. Infographics welcome, get schooled.


Research Committee

Other Mander Communities

Science and Research

Biology and Life Sciences

Physical Sciences

Humanities and Social Sciences

Practical and Applied Sciences

Memes

Miscellaneous

founded 2 years ago
MODERATORS