- Timestamp:
- Jun 6, 2015, 10:04:55 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ohana.20150429/src/libfits/table/F_set_column.c
r38404 r38408 266 266 SET_VALUES("int", int, "char", char, SWAP_WORD, 1); 267 267 SET_VALUES("int64_t", int64_t, "char", char, SWAP_DBLE, 1); 268 SET_VALUES("float", float, "char", char, SWAP_WORD, 1); 268 269 SET_VALUES("double", double, "char", char, SWAP_DBLE, 1); 269 SET_VALUES("float", float, "char", char, SWAP_WORD, 1);270 270 271 271 SET_VALUES("char", char, "byte", char, SWAP_NONE, 1); … … 274 274 SET_VALUES("int", int, "byte", char, SWAP_WORD, 1); 275 275 SET_VALUES("int64_t", int64_t, "byte", char, SWAP_DBLE, 1); 276 SET_VALUES("float", float, "byte", char, SWAP_ DBLE, 1);277 SET_VALUES("double", double, "byte", char, SWAP_ WORD, 1);276 SET_VALUES("float", float, "byte", char, SWAP_WORD, 1); 277 SET_VALUES("double", double, "byte", char, SWAP_DBLE, 1); 278 278 279 279 SET_VALUES("char", char, "short", short, SWAP_NONE, 2); … … 282 282 SET_VALUES("int", int, "short", short, SWAP_WORD, 2); 283 283 SET_VALUES("int64_t", int64_t, "short", short, SWAP_DBLE, 2); 284 SET_VALUES("float", float, "short", short, SWAP_ DBLE, 2);285 SET_VALUES("double", double, "short", short, SWAP_ WORD, 2);284 SET_VALUES("float", float, "short", short, SWAP_WORD, 2); 285 SET_VALUES("double", double, "short", short, SWAP_DBLE, 2); 286 286 287 287 SET_VALUES("char", char, "int", int, SWAP_NONE, 4); … … 290 290 SET_VALUES("int", int, "int", int, SWAP_WORD, 4); 291 291 SET_VALUES("int64_t", int64_t, "int", int, SWAP_DBLE, 4); 292 SET_VALUES("float", float, "int", int, SWAP_ DBLE, 4);293 SET_VALUES("double", double, "int", int, SWAP_ WORD, 4);292 SET_VALUES("float", float, "int", int, SWAP_WORD, 4); 293 SET_VALUES("double", double, "int", int, SWAP_DBLE, 4); 294 294 295 295 SET_VALUES("char", char, "int64_t", int64_t, SWAP_NONE, 8); … … 298 298 SET_VALUES("int", int, "int64_t", int64_t, SWAP_WORD, 8); 299 299 SET_VALUES("int64_t", int64_t, "int64_t", int64_t, SWAP_DBLE, 8); 300 SET_VALUES("float", float, "int64_t", int64_t, SWAP_ DBLE, 8);301 SET_VALUES("double", double, "int64_t", int64_t, SWAP_ WORD, 8);300 SET_VALUES("float", float, "int64_t", int64_t, SWAP_WORD, 8); 301 SET_VALUES("double", double, "int64_t", int64_t, SWAP_DBLE, 8); 302 302 303 303 SET_VALUES("char", char, "float", float, SWAP_NONE, 4); … … 306 306 SET_VALUES("int", int, "float", float, SWAP_WORD, 4); 307 307 SET_VALUES("int64_t", int64_t, "float", float, SWAP_DBLE, 4); 308 SET_VALUES("float", float, "float", float, SWAP_ DBLE, 4);309 SET_VALUES("double", double, "float", float, SWAP_ WORD, 4);308 SET_VALUES("float", float, "float", float, SWAP_WORD, 4); 309 SET_VALUES("double", double, "float", float, SWAP_DBLE, 4); 310 310 311 311 SET_VALUES("char", char, "double", double, SWAP_NONE, 8); … … 314 314 SET_VALUES("int", int, "double", double, SWAP_WORD, 8); 315 315 SET_VALUES("int64_t", int64_t, "double", double, SWAP_DBLE, 8); 316 SET_VALUES("float", float, "double", double, SWAP_ DBLE, 8);317 SET_VALUES("double", double, "double", double, SWAP_ WORD, 8);316 SET_VALUES("float", float, "double", double, SWAP_WORD, 8); 317 SET_VALUES("double", double, "double", double, SWAP_DBLE, 8); 318 318 319 319 # if (0)
Note:
See TracChangeset
for help on using the changeset viewer.
