awful.systems
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Ephera to Programmer Humor@lemmy.mlEnglish • 6 months ago

IEEE 754

cdn.fosstodon.org

message-square
41
fedilink
  • cross-posted to:
  • science_memes@mander.xyz
839

IEEE 754

cdn.fosstodon.org

Ephera to Programmer Humor@lemmy.mlEnglish • 6 months ago
message-square
41
fedilink
  • cross-posted to:
  • science_memes@mander.xyz

Stolen Cross-posted from here: https://fosstodon.org/@foo/113731569632505985

  • @arrakark@10291998.xyz
    link
    fedilink
    English
    8•6 months ago

    IEE 754 is my favourite IEEE standard. 754 gang

    • @SubArcticTundra@lemmy.ml
      link
      fedilink
      5•6 months ago

      Has anyone ever come across 8 or 16 bit floats? What were they used for?

      • EpheraOP
        link
        fedilink
        English
        4•6 months ago

        I found this: https://en.wikipedia.org/wiki/Minifloat

      • @wewbull@feddit.uk
        link
        fedilink
        English
        4•6 months ago

        Neural net evaluation mainly, but FP16 is used in graphics too.

      • @gandalf_der_12te@discuss.tchncs.de
        link
        fedilink
        2•
        edit-2
        6 months ago

        Actually, you can consider RGB values to be (triplets of) floats, too.

        Typically, one pixel takes up up to 32 bits of space, encoding Red, Green, Blue, and sometimes Alpha (opacity) values. That makes approximately 8 bits per color channel.

        Since each color can be a value between 0.0 (color is off) and 1.0 (color is on), that means every color channel is effectively a 8-bit float.

        • @lennivelkant@discuss.tchncs.de
          link
          fedilink
          6•6 months ago

          Aren’t they fractions rather than floating point decimals?

        • KubeRoot
          link
          fedilink
          English
          4•6 months ago

          Pretty sure what you’re describing isn’t floating-point numbers, but fixed-point numbers… Which would also work just as well or better in most cases where floats are used.

Programmer Humor@lemmy.ml

!programmerhumor@lemmy.ml

remote_follow_modal_title

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 484 users / day
  • 1.35K users / week
  • 3.56K users / month
  • 9.59K users / 6 months
  • 36.6K subscribers
  • 1.7K Posts
  • 31K Comments
  • Modlog
  • mods:
  • @AgreeableLandscape@lemmy.ml
  • @cat_programmer@lemmy.ml
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org