• johannesvanderwhales@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    4 days ago

    It would be pretty easy to make a fraction class if you really wanted to. But I doubt it would result in much difference in the precision of calculations since the result would still be limited to a float value (edit: I guess I’m probably wrong on that but reducing a fraction would be less trivial I think?)