#gleeunit/should has no precision comparison

1 messages ยท Page 1 of 1 (latest)

prime onyx
#

I've been working on a sRGB to Oklab conversions and i would like to have some kind of should.close_equal(a,b,delta) to compare floats, instead of doing it manually. I can contribute to gleeunit but it is not open source is it? Thanks for your time ๐Ÿ™‚

sleek lintel
prime onyx
#

oh thanks. the link on hex is broken then coz it links to gleam-lang/gleeunit

sleek lintel
prime onyx
#

๐Ÿ‘

merry pebble
#

unrelated but if you're working on colour-related things would you consider contributing to gleam_community_colour instead? ๐Ÿค”

storm goblet
#

sorry to get more off topic but til of gleam_community_colour (i only searched for color and not colour ๐Ÿ˜…)

I implemented srgb -> hsluv (and all the in between spaces) and just submitted the package for it, but maybe the functions can go inside gleam_community_colour too: https://hex.pm/packages/lumi

simple thicket
prime onyx