programming.dev
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
JPDev to Programmer Humor · 1 year ago

Floating-point arithmetic

lemmy.ml

message-square
5
link
fedilink
  • cross-posted to:
  • [email protected]
352

Floating-point arithmetic

lemmy.ml

JPDev to Programmer Humor · 1 year ago
message-square
5
link
fedilink
  • cross-posted to:
  • [email protected]
alert-triangle
You must log in or register to comment.
  • Codex@lemmy.world
    link
    fedilink
    arrow-up
    31
    arrow-down
    1
    ·
    1 year ago

    If I can’t be a number, none of you can!

    (See also cascading nulls)

  • AlmightySnoo 🐢🇮🇱🇺🇦@lemmy.world
    link
    fedilink
    arrow-up
    11
    arrow-down
    1
    ·
    1 year ago

    for the math homies, you could say that NaN is an absorbing element

  • WaterWaiver@aussie.zone
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    1 year ago

    In Kerbal Space Program your ships sometimes catch the NaN virus. If one fuel tank level is reading NaN then whatever you do DON’T try and fill it from another (full) tank. I’m not sure if it can spread to physics (thrust, mass, etc) EDIT: Yes it can happen to physics, oh dear.

    I wonder what would happen if you landed a NaN-infected spaceship on a planet.

    • Mesa
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      That’s both really cool and very concerning at the same time. I’d be scared to play lol.

  • Kissaki
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    It’s infectious!

Programmer Humor

programmer_humor

Subscribe from Remote Instance

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: [email protected]

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 3.08K users / day
  • 5.55K users / week
  • 9.23K users / month
  • 18.5K users / 6 months
  • 2.41K local subscribers
  • 23.6K subscribers
  • 1.43K Posts
  • 54K Comments
  • Modlog
  • mods:
  • adr1an
  • Feyter
  • BurningTurtle
  • Pierre-Yves Lapersonne
  • BE: 0.19.11
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org