Thanks guys. That's very helpful. I forgot that what I saw (and re-used)
as the "height" was not precise enough to make it comparable.
On Thursday, February 22, 2018 at 3:33:38 PM UTC-5, Steve Bagwell wrote:
>
>
> Hello Everyone,
>
> This looks like a Golang bug to me. What do you all think?
>
Hello Everyone,
This looks like a Golang bug to me. What do you all think?
> I have this function ...
func getArea(base, side int64) float64 {
> var height, fSide, area float64
> fSide = float64(side)
> halfBase := float64(base) / 2.0
> height = math.Sqrt(fSide*fSide - halfBase*halfBase)
> a
Thanks Konstantin. That's a good point. I've posted an issue on that
repo. Unfortunately, there is another issue there from Sep 2016 which
doesn't appear to have a reply yet. We'll see if I get a reply.
On Monday, August 28, 2017 at 3:36:13 AM UTC-4, Konstantin Khomoutov wrote:
>
> On Fri, Aug
Thanks Andrey,
SVGO didn't seem to include that particular functionality. Maybe I just
didn't look carefully enough?
On Friday, August 25, 2017 at 12:32:25 PM UTC-4, andrey mirtchovski wrote:
>
> There's svgo: https://github.com/ajstarks/svgo
>
> When in doubt, put your code out there :)
>
>
-
I've been experimenting with Go recently, having been more of a Python
programmer.
As an exercise, I've written a Go program that creates simple SVG xml based
on a 2-dimensional grid of colors. I'm wondering if that's something worth
putting up on Bitbucket or is there already a repo out there