Mercurial > hg > CbC > CbC_gcc
comparison gcc/sreal.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
1 /* Simple data type for real numbers for the GNU compiler. | 1 /* Simple data type for real numbers for the GNU compiler. |
2 Copyright (C) 2002-2018 Free Software Foundation, Inc. | 2 Copyright (C) 2002-2020 Free Software Foundation, Inc. |
3 | 3 |
4 This file is part of GCC. | 4 This file is part of GCC. |
5 | 5 |
6 GCC is free software; you can redistribute it and/or modify it under | 6 GCC is free software; you can redistribute it and/or modify it under |
7 the terms of the GNU General Public License as published by the Free | 7 the terms of the GNU General Public License as published by the Free |
256 } | 256 } |
257 | 257 |
258 /* Read sreal value from IB. */ | 258 /* Read sreal value from IB. */ |
259 | 259 |
260 sreal | 260 sreal |
261 sreal::stream_in (struct lto_input_block *ib) | 261 sreal::stream_in (class lto_input_block *ib) |
262 { | 262 { |
263 sreal val; | 263 sreal val; |
264 val.m_sig = streamer_read_hwi (ib); | 264 val.m_sig = streamer_read_hwi (ib); |
265 val.m_exp = streamer_read_hwi (ib); | 265 val.m_exp = streamer_read_hwi (ib); |
266 return val; | 266 return val; |