1 #if !defined HAVE_PRINT_BIN_H__
2 #define      HAVE_PRINT_BIN_H__
3 // This file is part of the FXT library.
4 // Copyright (C) 2010, 2011, 2018 Joerg Arndt
5 // License: GNU General Public License version 3 or later,
6 // see the file COPYING.txt in the main directory.
7 
8 #include "fxttypes.h"
9 
10 // bits/print-bin.cc:
11 void print_bin(const char *bla, unsigned long long x, ulong pd=0, const char *c01=nullptr);
12 void print_bin_vec(const char *bla, unsigned long long x, ulong pd=0, const char *c01=nullptr);
13 void print_idx_seq(const char *bla, unsigned long long x, ulong off=0);
14 
15 
16 // bits/print-bindiff.cc:
17 void print_bin_diff(const char*bla,
18                     unsigned long long x1,
19                     unsigned long long x2,
20                     ulong pd=0,
21                     const char *c01pm=".1+-");
22 
23 
24 void print_bin_vec_diff(const char*bla,
25                         unsigned long long x1,
26                         unsigned long long x2,
27                         ulong pd/*=0*/,
28                         const char *c01pm=".1+-");
29 
30 // bits/print-bitset.cc:
31 void print_bit_set(const char *bla, ulong x, ulong rq=0);
32 
33 
34 #endif  // !defined HAVE_PRINT_BIN_H__
35