Maja changed the topic of ##bash-crimes to: we bash back | club of folks preoccupied in whether they could, not whether they should | logs https://libera.irclog.whitequark.org/~h~bash-crimes
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined ##bash-crimes
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined ##bash-crimes
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined ##bash-crimes
<cve> how would one do arbitrary precision rationals in bash?
<cve> i.e. treating 1/3 as 1/3 and not 0.333333333
<JAA> Probably by storing the numerator and denominator separately.
<JAA> As far as Bash is concerned, 1/3 is 0 anyway.
<Maja> well the easy way is using bc or something
<Maja> the hard way is implementing a bignum library
_whitelogger has joined ##bash-crimes
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined ##bash-crimes