GDB (xrefs)
Defines | Typedefs | Enumerations | Functions
/home/stan/gdb/src/gdb/doublest.h File Reference
#include "floatformat.h"

Go to the source code of this file.

Defines

#define DOUBLEST_PRINT_FORMAT   "g"
#define DOUBLEST_SCAN_FORMAT   "lg"

Typedefs

typedef double DOUBLEST

Enumerations

enum  float_kind {
  float_nan, float_infinite, float_zero, float_normal,
  float_subnormal
}

Functions

void floatformat_to_doublest (const struct floatformat *, const void *in, DOUBLEST *out)
void floatformat_from_doublest (const struct floatformat *, const DOUBLEST *in, void *out)
int floatformat_is_negative (const struct floatformat *, const bfd_byte *)
enum float_kind floatformat_classify (const struct floatformat *, const bfd_byte *)
const char * floatformat_mantissa (const struct floatformat *, const bfd_byte *)
struct floatformat * floatformat_from_type (const struct type *type)
DOUBLEST extract_typed_floating (const void *addr, const struct type *type)
void store_typed_floating (void *addr, const struct type *type, DOUBLEST val)
void convert_typed_floating (const void *from, const struct type *from_type, void *to, const struct type *to_type)

Define Documentation

#define DOUBLEST_PRINT_FORMAT   "g"

Definition at line 54 of file doublest.h.

Referenced by decimal_from_floating().

#define DOUBLEST_SCAN_FORMAT   "lg"

Definition at line 55 of file doublest.h.

Referenced by ada_delta(), parse_float(), processReal(), and scaling_factor().


Typedef Documentation

typedef double DOUBLEST

Definition at line 24 of file doublest.h.


Enumeration Type Documentation

enum float_kind
Enumerator:
float_nan 
float_infinite 
float_zero 
float_normal 
float_subnormal 

Definition at line 66 of file doublest.h.


Function Documentation

void convert_typed_floating ( const void *  from,
const struct type from_type,
void *  to,
const struct type to_type 
)
DOUBLEST extract_typed_floating ( const void *  addr,
const struct type type 
)
enum float_kind floatformat_classify ( const struct floatformat *  ,
const bfd_byte *   
)
void floatformat_from_doublest ( const struct floatformat *  ,
const DOUBLEST in,
void *  out 
)
struct floatformat* floatformat_from_type ( const struct type type) [read]
int floatformat_is_negative ( const struct floatformat *  ,
const bfd_byte *   
)
const char* floatformat_mantissa ( const struct floatformat *  ,
const bfd_byte *   
)
void floatformat_to_doublest ( const struct floatformat *  ,
const void *  in,
DOUBLEST out 
)
void store_typed_floating ( void *  addr,
const struct type type,
DOUBLEST  val 
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines