powered by
hypot sqrt(a^2 + b^2) without under/overflow
hypot
hypot(a, b)
value a
value b
sqrt(a^2 + b^2)
Java Tutorial http://www.java2s.com/Tutorial/Java/0120__Development/sqrta2b2withoutunderoverflow.htm
# NOT RUN { hypot(0.310897, 0.306510) # }
Run the code above in your browser using DataLab