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

Life Hack

lemmy.ml

message-square
63
fedilink
852

Life Hack

lemmy.ml

@cm0002@lemmy.world to Funny@sh.itjust.works • 2 months ago
message-square
63
fedilink
  • stebo
    link
    fedilink
    74•
    edit-2
    2 months 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•2 months ago

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

      • @toynbee@lemmy.world
        link
        fedilink
        4•2 months ago

        Hello, fellow old nerd.

    • JackbyDev
      link
      fedilink
      English
      33•2 months ago

      9/1 ≈ 8

    • @somedev@aussie.zone
      link
      fedilink
      17•2 months 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•2 months 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•2 months ago

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

    • @pacology@lemmy.world
      link
      fedilink
      English
      12•2 months 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
      2 months 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•2 months 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•2 months ago

        what about 8/1 would that be save?

        • @DragonTypeWyvern@midwest.social
          link
          fedilink
          4•2 months ago

          Don’t cut corners

    • @humanspiral@lemmy.ca
      link
      fedilink
      3•2 months 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.19K users / day
  • 4.3K users / week
  • 8.67K users / month
  • 17.4K users / 6 months
  • 10.1K subscribers
  • 1.69K Posts
  • 29.3K 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