{"published":"2013-01-19 16:43:59","height":"190","provider_name":"Hatena Blog","categories":["Programming","Golang"],"title":"#golang \u00a746 Advanced Exercise: Complex cube roots","blog_title":"c4se\u8a18\uff1a\u3055\u3063\u3061\u3083\u3093\u3067\u3059\u3088\u2606","blog_url":"https://c4se.hatenablog.com/","version":"1.0","description":"A Tour of Go chapter 46 Advanced Exercise: Complex cube roots Let's explore Go's built-in support for complex numbers via the complex64 and complex128 types. For cube roots, Newton's method amounts to repeating: z = z - (z ** 3 - x) / (z * z * 3) Find the cube root of 2, just to make sure the algori\u2026","type":"rich","width":"100%","image_url":null,"url":"https://c4se.hatenablog.com/entry/2013/01/19/164359","author_url":"https://blog.hatena.ne.jp/Kureduki_Maari/","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fc4se.hatenablog.com%2Fentry%2F2013%2F01%2F19%2F164359\" title=\"#golang \u00a746 Advanced Exercise: Complex cube roots - c4se\u8a18\uff1a\u3055\u3063\u3061\u3083\u3093\u3067\u3059\u3088\u2606\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"Kureduki_Maari"}