Learn R Programming

munsellinterpol (version 1.0.2)

hypot: sqrt(a^2 + b^2) without under/overflow

Description

hypot sqrt(a^2 + b^2) without under/overflow

Usage

hypot(a, b)

Arguments

a

value a

b

value b

Value

double

sqrt(a^2 + b^2)

References

Java Tutorial http://www.java2s.com/Tutorial/Java/0120__Development/sqrta2b2withoutunderoverflow.htm

Examples

Run this code
# NOT RUN {
hypot(0.310897, 0.306510)
# }

Run the code above in your browser using DataLab