Fix "call to 'sqrt' is ambiguous" error when building on SunOS
authorJonathan Taylor <taylorjonl@gmail.com>
Mon, 4 Jan 2016 07:12:24 +0000 (07:12 +0000)
committerJonathan Taylor <taylorjonl@gmail.com>
Mon, 4 Jan 2016 07:12:24 +0000 (07:12 +0000)
commitcf309e347b5a6893d751ffe359a856d4dc8db140
treef999e066cd98e49ab47d35188a4c329686f2b88f
parent65923eb9308030bc1ef9d77dd347e7361545af83
Fix "call to 'sqrt' is ambiguous" error when building on SunOS

Building on SunOS will fail with the message of "call to 'sqrt' is
ambiguous" because it can't determine the type of the constant value
passed to it. This change adds a cast to a double because every usage
uses this data type
src/pal/src/cruntime/finite.cpp