~ubuntu-branches/ubuntu/maverick/ghdl/maverick

« back to all changes in this revision

Viewing changes to gcc/libdecnumber/decSingle.h

  • Committer: Bazaar Package Importer
  • Author(s): Wesley J. Landaker
  • Date: 2009-04-02 21:23:07 UTC
  • mfrom: (1.1.11 upstream) (3.2.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090402212307-01pkh97q9b3u1vea
Tags: 0.27+svn110+gcc4.3.3+dfsg-1
* Now using gcc-4.3.3
* Updated copyright information
* Added Vcs-Git information
* Updated to policy 3.8.1 

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
  #include "decQuad.h"
60
60
  #include "decDouble.h"
61
61
 
62
 
  /* The decSingle decimal 32-bit type, accessible by bytes */
63
 
  typedef struct {
 
62
  /* The decSingle decimal 32-bit type, accessible by various types */
 
63
  typedef union {
64
64
    uint8_t bytes[DECSINGLE_Bytes];     /* fields: 1, 5, 6, 20 bits */
 
65
    uint16_t shorts[DECSINGLE_Bytes/2];
 
66
    uint32_t words[DECSINGLE_Bytes/4];
65
67
    } decSingle;
66
68
 
67
69
  /* ---------------------------------------------------------------- */