Commit Graph
4 Commits
Author SHA1 Message Date
kistaro a237fa81bf pull try out of Add
deferring a recovery handler is normal in Go but opaque. Pulling out a helper for this (`try`) makes it more obvious that this is just another "if this operation fails, return error" case.
2024-09-29 12:41:49 -07:00
kistaro b2099586fc reimplement clamp as mid
removes an opportunity to write a bug by swapping low and high
2024-09-29 12:09:11 -07:00
Rakeela 16f452b08f Start on Implementing PIPs 2024-09-27 21:56:13 -07:00
kistaro 816b5e8e7a Mathematical mean helper. 2023-05-13 20:13:05 -07:00