360
submitted 1 year ago by floofloof@lemmy.ca to c/news@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] jarfil@lemmy.world 14 points 1 year ago* (last edited 1 year ago)

Computers still run different algorithms internally, some of which are more prone to having undetected errors than others:

https://en.m.wikipedia.org/wiki/Pentium_FDIV_bug

[-] SkyeStarfall@lemmy.blahaj.zone 14 points 1 year ago

Computers use base 2, binary. Whether humans use base 10 or base 60 is irrelevant.

[-] SCB@lemmy.world -2 points 1 year ago

The algorithms coded into computers are not in base 2, though. Only operating functions of the computer itself are in base 2.

You don't code in binary

[-] SkyeStarfall@lemmy.blahaj.zone 8 points 1 year ago

What do you mean algorithms are not in base 2? What else are they in?

Just because you have human readable code which uses base 10 doesn't mean it isn't all translated to binary down the line. If that's what you're referring to, of course. Under the hood it's all binary, and always has been.

[-] Tranus@programming.dev 7 points 1 year ago

Every thing you code is binary. You may write '15', but the code your computer runs will use '00001111'. The base-10 source code is only like that for human readability. All mathematical operations are done in binary, and all numbers are stored in binary. The only time they are not is the exact moment they are converted to text to display to the user.

this post was submitted on 01 Oct 2023
360 points (93.3% liked)

News

23600 readers
3472 users here now

Welcome to the News community!

Rules:

1. Be civil


Attack the argument, not the person. No racism/sexism/bigotry. Good faith argumentation only. This includes accusing another user of being a bot or paid actor. Trolling is uncivil and is grounds for removal and/or a community ban. Do not respond to rule-breaking content; report it and move on.


2. All posts should contain a source (url) that is as reliable and unbiased as possible and must only contain one link.


Obvious right or left wing sources will be removed at the mods discretion. We have an actively updated blocklist, which you can see here: https://lemmy.world/post/2246130 if you feel like any website is missing, contact the mods. Supporting links can be added in comments or posted seperately but not to the post body.


3. No bots, spam or self-promotion.


Only approved bots, which follow the guidelines for bots set by the instance, are allowed.


4. Post titles should be the same as the article used as source.


Posts which titles don’t match the source won’t be removed, but the autoMod will notify you, and if your title misrepresents the original article, the post will be deleted. If the site changed their headline, the bot might still contact you, just ignore it, we won’t delete your post.


5. Only recent news is allowed.


Posts must be news from the most recent 30 days.


6. All posts must be news articles.


No opinion pieces, Listicles, editorials or celebrity gossip is allowed. All posts will be judged on a case-by-case basis.


7. No duplicate posts.


If a source you used was already posted by someone else, the autoMod will leave a message. Please remove your post if the autoMod is correct. If the post that matches your post is very old, we refer you to rule 5.


8. Misinformation is prohibited.


Misinformation / propaganda is strictly prohibited. Any comment or post containing or linking to misinformation will be removed. If you feel that your post has been removed in error, credible sources must be provided.


9. No link shorteners.


The auto mod will contact you if a link shortener is detected, please delete your post if they are right.


10. Don't copy entire article in your post body


For copyright reasons, you are not allowed to copy an entire article into your post body. This is an instance wide rule, that is strictly enforced in this community.

founded 2 years ago
MODERATORS