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
/*http://www.lomont.org/papers/2003/InvSqrt.pdf*/ | |
float fsqrtf(float x) { | |
if(x<0.0f){ | |
return __builtin_nanf(""); | |
} | |
const float xhalf = 0.5f * x; | |
union { | |
float x; | |
int i; |
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
! 2022-03-08 https://www.youtube.com | |
www.youtube.com##ytd-guide-entry-renderer.ytd-guide-section-renderer.style-scope > .ytd-guide-entry-renderer.style-scope.yt-simple-endpoint:has-text(Shorts) | |
! 2022-05-18 https://www.youtube.com | |
www.youtube.com##.ytd-item-section-renderer.style-scope > .ytd-reel-shelf-renderer.style-scope | |
www.youtube.com##ytd-browse ytd-rich-item-renderer:has(#video-title-link[title~="#short" i]) | |
www.youtube.com##ytd-browse ytd-rich-item-renderer:has(#video-title-link[title~="#shorts" i]) | |
www.youtube.com##ytd-browse ytd-rich-item-renderer:has(#video-title-link[title~="#Short" i]) | |
www.youtube.com##ytd-browse ytd-rich-item-renderer:has(#video-title-link[title~="#Shorts" i]) |
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
#include <chrono> | |
#include <iostream> | |
int main() { | |
decltype(auto) start{std::chrono::steady_clock::now()}; | |
/*put somefunc();*/ | |
decltype(auto) end{std::chrono::steady_clock::now()}; |