619
submitted 2 days ago* (last edited 2 days ago) by Ragdoll_X@lemmy.world to c/science_memes@mander.xyz
all 36 comments
sorted by: hot top controversial new old
[-] aido@lemmy.world 36 points 2 days ago

FYI OP, Discord breaks external image links after a pretty short period.

For future generations:

[-] SpaceNoodle@lemmy.world 50 points 2 days ago
[-] ArbitraryValue@sh.itjust.works 10 points 2 days ago

But floating-point notation also can't precisely represent irrational numbers...

[-] SpaceNoodle@lemmy.world 1 points 2 days ago

What superior method do you propose?

[-] ArbitraryValue@sh.itjust.works 12 points 2 days ago* (last edited 2 days ago)

Following Pythagoreanism and believing irrational numbers to be blasphemous. They're represented by being struck down by the gods.

[-] MBM@lemmings.world 1 points 2 days ago

Symbolical computation is cool

[-] SkybreakerEngineer@lemmy.world 1 points 2 days ago

But some irrational numbers are only so in base 10

[-] very_well_lost@lemmy.world 9 points 2 days ago

What? That's not true at all...

[-] swab148@lemm.ee 3 points 2 days ago
[-] Gobbel2000@programming.dev 6 points 2 days ago

Writing the same number a different way does not make it rational. There are no two natural numbers p and q so that p/q = 1 base pi.

[-] wewbull@feddit.uk 2 points 1 day ago* (last edited 1 day ago)

1 is always 1. It's 1 × b⁰ where b is the base. Anything raised to the zeroth power is 1.

10 is the base. 1 × b¹ + 0 × b⁰

[-] very_well_lost@lemmy.world 5 points 2 days ago

Even in base π, π is still considered an irrational number; using an irrational based doesn't change the fundamental identity of whole numbers or irrational numbers, it just changes the way we write them.

[-] mexicancartel@lemmy.dbzer0.com 3 points 2 days ago* (last edited 2 days ago)

That doesn't make it rational but simply makes it writable in 2 digits(10)

Also you should have 3.1415... "number of characters" in that base... The base becoming irrational will make the number irrational

[-] Redjard@lemmy.dbzer0.com 2 points 2 days ago

π = 10

in base 10, 10 = 10.

[-] muntedcrocodile@lemm.ee 3 points 2 days ago* (last edited 2 days ago)

Kinda. Technicaly no since an irrational number is a number that cannot be defined as a ratio of 2 existing rational numbers. Any number that can be represented in any rational base can by definition be represented as a ratio of somthing/base^n. This ignore the case of an irrational base but its practically useless cos any rational and most other irrational numbers will be irrational.

What u think ur trying to say is that some numbers cannot be represented in one base but can in another for example 1/3 can be represented as a decimal in base 3 but cannot jn base 10 ie u get 0.333(3 repeating forever).

Tieing back to floating point which uses base 2 u end up with simmillar issues with base10 base2 conversions hence most of the errors with floating point errors (yes at very large and very small numbers u lose accuracy but in practice most errors arise from base convention).

[-] scrion@lemmy.world 34 points 2 days ago

Honestly, as far as fresh takes on memes go, I loved that one quite a bit

[-] Ragdoll_X@lemmy.world 39 points 2 days ago* (last edited 2 days ago)

For those who are curious, that's the IEEE 754 representation of the number 300.

[-] elvith@feddit.org 20 points 2 days ago

Sigh, and I wanted to reply with

It's over 01000110000011001010000000000000!

[-] tdawg@lemmy.world 20 points 2 days ago

Man that’s a big factorial

[-] bloubz@lemmygrad.ml 1 points 2 days ago

I have to chose between 9000 and Anakin, hard

[-] Tower@lemm.ee 3 points 2 days ago

That was a very good guess!

[-] imPastaSyndrome@lemm.ee 2 points 2 days ago
[-] silverchase@sh.itjust.works 12 points 2 days ago* (last edited 2 days ago)

Each section of the binary number represents a different component needed to construct the number 300. It uses clever math to be able to represent decimals. It's like asking you whether a number is positive or negative, then the position of the decimal point, then what the digits are.

Specifically…

The first 0 means the number is positive. The number formed by the next eight bits (the exponent) and the number from the remaining bits (the mantissa) multiply to get 300.

The exponent bits choose the value of N in the formula 2^N-127^ . For the mantissa, we start with the number 1, then each "1" bit starting from the left adds to it 0.5, then 0.25, and so on. Specifically, we have 2^8^×1.171875.

[-] imPastaSyndrome@lemm.ee 2 points 2 days ago

Aaaaaaaaaghhhh bitwise arithmetic aaaaaahhhhffggffg it's all coming back YOU DON'T KNOW WHAT YOU'VE UNLEASHED KHGHHAAAA

[-] imPastaSyndrome@lemm.ee 1 points 2 days ago

But thank you for the explanation

[-] frezik@midwest.social 9 points 2 days ago

Have had too many debates with senior programmers who don't understand why multiplying by 0.1 doesn't work.

"It works in , why doesn't it work in ?"

[-] chunkystyles@sopuli.xyz 4 points 2 days ago

BigDecimal go brrrr

[-] BeatTakeshi@lemmy.world 5 points 2 days ago

Where's my Lil'Endian ?

[-] h4x0r@lemmy.dbzer0.com 3 points 2 days ago

someone xor this mfr rn fr

[-] mindbleach@sh.itjust.works 1 points 1 day ago

// what the fuck?

[-] mindbleach@sh.itjust.works 3 points 2 days ago

The weirdest part of learning about floating point was suddenly knowing how to use a slide rule.

[-] LovableSidekick@lemmy.world 3 points 2 days ago

Such binary thinking.

[-] inlandempire@jlai.lu 3 points 2 days ago

I'm doing my part

this post was submitted on 19 Dec 2024
619 points (96.7% liked)

Science Memes

11414 readers
2211 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.

This is a science community. We use the Dawkins definition of meme.



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