News for hackers. Stuff that matters.
Re:GNU Units by kragen on Thursday August 03, 2023 @03:03PM (#36990254)
interesting, looks like an effort to improve the precision resulted in a factor of 1000 error! `help moondist_max` shows me considerably less precise values:

    sundist                 1.0000010178 au # mean earth-sun distance
    moondist                3.844e8 m       # mean earth-moon distance
    sundist_near            1.471e11 m      # earth-sun distance at perihelion
    sundist_far             1.521e11 m      # earth-sun distance at aphelion
    moondist_min            3.564e8 m       # approximate least distance at
                                            #    perigee 1901-2300
    moondist_max            4.067e8 m       # approximate greatest distance at
                                            #    apogee 1901-2300
Re:GNU Units by chungy on Thursday August 03, 2023 @05:24PM (#36992165)
Where are you typing help to get that output?
Re:GNU Units by kragen on Thursday August 03, 2023 @05:35PM (#36992297)
at the units prompt

    You have: help moondist_max
then i scrolled up a few lines in less
Re:GNU Units by chungy on Thursday August 03, 2023 @05:49PM (#36992472)
I could've sworn I tried and didn't get anything. Now it is working. I don't know what I did! (running version 2.22, at any rate)
Re:GNU Units by kragen on Thursday August 03, 2023 @06:48PM (#36993135)
sweet

search is also pretty nice

    You have: search gallon
    alegallon      beergallon
    beergallon     282 UKinch^3
    brgallon       4.54609 l
    drygallon      1|2 uspeck
    gallon         usgallon
    imperialgallon brgallon
    irishgallon    217.6 UKinch^3
    scotsgallon    827.232 UKinch^3
    usgallon       231 in^3
    winegallon     231 UKinch^3