Real Bitcoin Cash
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemmy.world to Funny@sh.itjust.works · 13 days ago

Life Hack

message-square
63
fedilink
849

Life Hack

cm0002@lemmy.world to Funny@sh.itjust.works · 13 days ago
message-square
63
fedilink
  • stebo@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    74
    ·
    edit-2
    12 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
      arrow-up
      37
      ·
      12 days ago

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

      • toynbee@lemmy.world
        link
        fedilink
        arrow-up
        4
        ·
        12 days ago

        Hello, fellow old nerd.

    • JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      32
      ·
      12 days ago

      9/1 ≈ 8

    • somedev@aussie.zone
      link
      fedilink
      arrow-up
      17
      ·
      12 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@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        14
        ·
        12 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
        arrow-up
        3
        ·
        12 days ago

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

    • pacology@lemmy.world
      link
      fedilink
      English
      arrow-up
      12
      ·
      12 days ago

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

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

    • Neverclear@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      8
      ·
      12 days ago

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

      • stebo@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        2
        ·
        12 days ago

        what about 8/1 would that be save?

        • DragonTypeWyvern@midwest.social
          link
          fedilink
          arrow-up
          4
          ·
          12 days ago

          Don’t cut corners

    • stebo@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      8
      ·
      edit-2
      12 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.

    • humanspiral@lemmy.ca
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      12 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.

Visibility: Public
globe

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

  • 1.49K users / day
  • 3.6K users / week
  • 7.98K users / month
  • 14.3K users / 6 months
  • 1 local subscriber
  • 9.46K subscribers
  • 859 Posts
  • 8.23K Comments
  • Modlog
  • mods:
  • TheDude@sh.itjust.works
  • kersploosh@sh.itjust.works
  • example@reddthat.com
  • VicksVaporBBQrub@sh.itjust.works
  • BE: 0.19.9
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org