The Enchanted Tavern
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@JPDev@programming.dev to Programmer Humor@programming.dev • 1 year ago

Floating-point arithmetic

lemmy.ml

message-square
6
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
352

Floating-point arithmetic

lemmy.ml

@JPDev@programming.dev to Programmer Humor@programming.dev • 1 year ago
message-square
6
fedilink
  • cross-posted to:
  • programmerhumor@lemmy.ml
alert-triangle
You must log in or register to comment.
  • Codex
    link
    fedilink
    30•1 year ago

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

    (See also cascading nulls)

  • AlmightySnoo 🐢🇮🇱🇺🇦
    link
    fedilink
    10•1 year ago

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

  • @Kissaki@programming.dev
    link
    fedilink
    English
    3•1 year ago

    It’s infectious!

  • @WaterWaiver@aussie.zone
    link
    fedilink
    English
    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@programming.dev
      link
      fedilink
      2•1 year ago

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

Programmer Humor@programming.dev

!programmer_humor@programming.dev
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: !programmer_humor@programming.dev

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
  • 111 users / day
  • 435 users / week
  • 1.29K users / month
  • 3.81K users / 6 months
  • 1 subscriber
  • 1.37K Posts
  • 45.4K Comments
  • Modlog
  • mods:
  • Feyter
  • adr1an
  • @BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne
  • UI: unknown version
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org