From: Jan Kotas Date: Tue, 28 Jul 2020 04:58:32 +0000 (-0700) Subject: Update safemath.h X-Git-Tag: submit/tizen/20210909.063632~6395 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=56d45b13c092c8ed3642113fc1991aacd86d26ef;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Update safemath.h Fixes #39985 --- diff --git a/src/coreclr/src/inc/safemath.h b/src/coreclr/src/inc/safemath.h index 84ea377..d93e4a5 100644 --- a/src/coreclr/src/inc/safemath.h +++ b/src/coreclr/src/inc/safemath.h @@ -154,8 +154,7 @@ inline bool DoubleFitsInIntType(double val) //----------------------------------------------------------------------------- // -// Liberally lifted from the Office example on MSDN and modified. -// http://msdn.microsoft.com/library/en-us/dncode/html/secure01142004.asp +// Liberally lifted from https://github.com/dcleblanc/SafeInt and modified. // // Modified to track an overflow bit instead of throwing exceptions. In most // cases the Visual C++ optimizer (Whidbey beta1 - v14.00.40607) is able to