This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
' replace only the LAST occurrence of a the SEARCH substring in SOURCE | |
' with the REPLACESTR string - search isn't case-sensitive | |
ReplaceLast = StrReverse(Replace(StrReverse(Source), StrReverse(Search), StrReverse(ReplaceStr), , 1)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static double fast_sqrt( const double number ) | |
{ | |
const double f = 1.5; | |
const double x = number * 0.5; | |
double y = number; | |
union | |
{ | |
double *double_repr; | |
long long *long_long_repr; |