lemmy.dexlit
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@cm0002@lemmy.world to Funny@sh.itjust.works • 26 days ago

Life Hack

lemmy.ml

message-square
63
fedilink
851

Life Hack

lemmy.ml

@cm0002@lemmy.world to Funny@sh.itjust.works • 26 days ago
message-square
63
fedilink
  • stebo
    link
    fedilink
    74•
    edit-2
    25 days ago

    you can trucate it and it still only a slightly worse approximation:

    987/123 = 8.024

    98/12 = 8.167

    9/1 = 9.000

    The last one is pretty bad you should probably not use it

    • @OutlierBlue@lemmy.ca
      link
      fedilink
      English
      38•25 days ago

      9/1 is approximately 8, for extremely large values of 8.

      • @toynbee@lemmy.world
        link
        fedilink
        4•25 days ago

        Hello, fellow old nerd.

    • JackbyDev
      link
      fedilink
      English
      33•25 days ago

      9/1 ≈ 8

    • @somedev@aussie.zone
      link
      fedilink
      17•25 days ago

      For that last one, how bad are we talking? I need to know soon, I have some important banking software I need to develop.

      • stebo
        link
        fedilink
        14•25 days ago

        I wouldn’t use it for precise calculations at NASA, but for banking stuff I think it would be fine :)

      • @prole@lemmy.blahaj.zone
        link
        fedilink
        3•25 days ago

        It depends on the scale of the thing you’re using it for.

    • @pacology@lemmy.world
      link
      fedilink
      English
      12•25 days ago

      Have you considered running for Indiana governor? You have the right mindset.

      https://en.wikipedia.org/wiki/Indiana_pi_bill

    • stebo
      link
      fedilink
      8•
      edit-2
      25 days ago

      By the way guys, a very similar approximation for 8, which also starts at 9.000 for n=1, but quickly gets much closer to 8 for increasing n, is:

      exp{-2(n-1)} + 8

      It approaches 8 about as fast as the above method but this one has a simple formula that is usable in python etc.

    • @Neverclear@lemmy.dbzer0.com
      link
      fedilink
      English
      8•25 days ago

      Nah, the engineer probably designed it with a safety factor. You could probably even go 9/0 and be perfectly safe ;)

      • stebo
        link
        fedilink
        2•25 days ago

        what about 8/1 would that be save?

        • @DragonTypeWyvern@midwest.social
          link
          fedilink
          4•25 days ago

          Don’t cut corners

    • @humanspiral@lemmy.ca
      link
      fedilink
      3•25 days ago

      16/2 is an almost exact replacement for 8. OP’s name includes Fermat, and so he’s probably smarter than me though.

Funny@sh.itjust.works

!funny@sh.itjust.works

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: !funny@sh.itjust.works

General rules:

  • Be kind.
  • All posts must make an attempt to be funny.
  • Obey the general sh.itjust.works instance rules.
  • No politics or political figures. There are plenty of other politics communities to choose from.
  • Don’t post anything grotesque or potentially illegal. Examples include pornography, gore, animal cruelty, inappropriate jokes involving kids, etc.

Exceptions may be made at the discretion of the mods.

  • 1.76K users / day
  • 5K users / week
  • 9.15K users / month
  • 16.6K users / 6 months
  • 9.64K subscribers
  • 1.59K Posts
  • 27.6K Comments
  • Modlog
  • mods:
  • @TheDude@sh.itjust.works
  • kersploosh
  • @example@reddthat.com
  • @VicksVaporBBQrub@sh.itjust.works
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org