projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Work in progress generate io struct
[babeltrace.git]
/
formats
/
ctf
/
types
/
float.c
diff --git
a/formats/ctf/types/float.c
b/formats/ctf/types/float.c
index ee9a8318660f115d5787f94cf50becd4ab99de70..72c779123bbd74e628e4a31b8eb0c847882c47cf 100644
(file)
--- a/
formats/ctf/types/float.c
+++ b/
formats/ctf/types/float.c
@@
-111,8
+111,8
@@
double ctf_double_read(struct stream_pos *srcp,
const struct declaration_float *float_declaration)
{
union doubleIEEE754 u;
const struct declaration_float *float_declaration)
{
union doubleIEEE754 u;
- struct declaration_float *dest_declaration =
float_declaration_new(NULL,
-
DBL_MANT_DIG,
+ struct declaration_float *dest_declaration =
+
float_declaration_new(
DBL_MANT_DIG,
sizeof(double) * CHAR_BIT - DBL_MANT_DIG,
BYTE_ORDER,
__alignof__(double));
sizeof(double) * CHAR_BIT - DBL_MANT_DIG,
BYTE_ORDER,
__alignof__(double));
@@
-130,8
+130,8
@@
void ctf_double_write(struct stream_pos *destp,
double v)
{
union doubleIEEE754 u;
double v)
{
union doubleIEEE754 u;
- struct declaration_float *src_declaration =
float_declaration_new(NULL,
-
DBL_MANT_DIG,
+ struct declaration_float *src_declaration =
+
float_declaration_new(
DBL_MANT_DIG,
sizeof(double) * CHAR_BIT - DBL_MANT_DIG,
BYTE_ORDER,
__alignof__(double));
sizeof(double) * CHAR_BIT - DBL_MANT_DIG,
BYTE_ORDER,
__alignof__(double));
@@
-148,8
+148,8
@@
long double ctf_ldouble_read(struct stream_pos *srcp,
const struct declaration_float *float_declaration)
{
union ldoubleIEEE754 u;
const struct declaration_float *float_declaration)
{
union ldoubleIEEE754 u;
- struct declaration_float *dest_declaration =
float_declaration_new(NULL,
-
LDBL_MANT_DIG,
+ struct declaration_float *dest_declaration =
+
float_declaration_new(
LDBL_MANT_DIG,
sizeof(long double) * CHAR_BIT - LDBL_MANT_DIG,
BYTE_ORDER,
__alignof__(long double));
sizeof(long double) * CHAR_BIT - LDBL_MANT_DIG,
BYTE_ORDER,
__alignof__(long double));
@@
-167,8
+167,8
@@
void ctf_ldouble_write(struct stream_pos *destp,
long double v)
{
union ldoubleIEEE754 u;
long double v)
{
union ldoubleIEEE754 u;
- struct declaration_float *src_declaration =
float_declaration_new(NULL,
-
LDBL_MANT_DIG,
+ struct declaration_float *src_declaration =
+
float_declaration_new(
LDBL_MANT_DIG,
sizeof(long double) * CHAR_BIT - LDBL_MANT_DIG,
BYTE_ORDER,
__alignof__(long double));
sizeof(long double) * CHAR_BIT - LDBL_MANT_DIG,
BYTE_ORDER,
__alignof__(long double));
This page took
0.02342 seconds
and
4
git commands to generate.