Skip to content

Instantly share code, notes, and snippets.

Avatar

Adam Fidel ledif

View GitHub Profile
View gist:36c135435448498d05deff48a9e734c6
Verifying my Blockstack ID is secured with the address 19bZ6GGPZsm1jUNwaSwKoX7Z2rZ7ATR6PD https://explorer.blockstack.org/address/19bZ6GGPZsm1jUNwaSwKoX7Z2rZ7ATR6PD
View pi_converge.cc
#include <iostream>
#include <cmath>
int main(int argc, char* argv[])
{
constexpr int iters = 100000;
double x = 2.321232;
for (std::size_t i = 0; i < iters; ++i)
x = std::hypot(x, std::sin(x));
@ledif
ledif / keybase.md
Created May 19, 2017
Proof for keybase
View keybase.md

Keybase proof

I hereby claim:

  • I am ledif on github.
  • I am ledif (https://keybase.io/ledif) on keybase.
  • I have a public key ASAOg7aMk8l5g6-TcJz6MkKjWsv0kUIz7_oeiy1vVyep8Qo

To claim this, I am signing this object:

View is_x.cc
#include <iostream>
#include <type_traits>
template<int A, typename B, typename C>
struct X { };
template<typename T>
struct is_X : std::false_type {};
template<typename... Args>