Heron's method in haskell

前端 未结 0 1185
盖世英雄少女心
盖世英雄少女心 2020-11-30 09:25

I\'m getting divide by zero exceptions in this code of heron\'s method, and I am kind of lost here.

epsilon:: Integral a => a
epsilon = 1

heron:: Integral         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题