sparrow 1.4.0
C++20 idiomatic APIs for the Apache Arrow Columnar Format
Loading...
Searching...
No Matches
int256_t.hpp File Reference

256-bit signed integer type based on Andrew G. More...

#include <cassert>
#include <cstdint>
#include <cstddef>
#include <cstdlib>
#include <string>
#include <ostream>
#include <limits>
#include <type_traits>
#include <utility>
#include "int128_t.hpp"
Include dependency graph for int256_t.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  primesum::int256_t
 

Namespaces

namespace  primesum
 

Functions

std::ostream & primesum::operator<< (std::ostream &stream, int256_t n)
 
std::string primesum::to_string (const int256_t &n)
 

Detailed Description

256-bit signed integer type based on Andrew G.

Crowell's 128-bit signed integer type: https://gist.github.com/Bananattack/6242ba7b8265c90ce6f3c2d84670c52d

Copyright (C) 2017 Kim Walisch, kim.w.nosp@m.alis.nosp@m.ch@gm.nosp@m.ail..nosp@m.com

This file is distributed under the BSD License. See the COPYING file in the top level directory.

Definition in file int256_t.hpp.