]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/wide-int-print.h
C++: more location wrapper nodes (PR c++/43064, PR c++/43486)
[thirdparty/gcc.git] / gcc / wide-int-print.h
CommitLineData
e913b5cd 1/* Print wide integers.
8e8f6434 2 Copyright (C) 2013-2018 Free Software Foundation, Inc.
e913b5cd 3
4This file is part of GCC.
5
6GCC is free software; you can redistribute it and/or modify it
7under the terms of the GNU General Public License as published by the
8Free Software Foundation; either version 3, or (at your option) any
9later version.
10
11GCC is distributed in the hope that it will be useful, but WITHOUT
12ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14for more details.
15
16You should have received a copy of the GNU General Public License
17along with GCC; see the file COPYING3. If not see
18<http://www.gnu.org/licenses/>. */
19
20#ifndef WIDE_INT_PRINT_H
21#define WIDE_INT_PRINT_H
22
23#include <stdio.h>
e913b5cd 24
e84f6f96 25#define WIDE_INT_PRINT_BUFFER_SIZE (WIDE_INT_MAX_PRECISION / 4 + 4)
26
e913b5cd 27/* Printing functions. */
28
28e557ef 29extern void print_dec (const wide_int_ref &wi, char *buf, signop sgn);
30extern void print_dec (const wide_int_ref &wi, FILE *file, signop sgn);
31extern void print_decs (const wide_int_ref &wi, char *buf);
32extern void print_decs (const wide_int_ref &wi, FILE *file);
33extern void print_decu (const wide_int_ref &wi, char *buf);
34extern void print_decu (const wide_int_ref &wi, FILE *file);
35extern void print_hex (const wide_int_ref &wi, char *buf);
36extern void print_hex (const wide_int_ref &wi, FILE *file);
e913b5cd 37
38#endif /* WIDE_INT_PRINT_H */