GDB (API)
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.

#define DOUBLEST_SCAN_FORMAT   "lg"

Definition at line 55 of file doublest.h.


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 
)

Definition at line 864 of file doublest.c.

DOUBLEST extract_typed_floating ( const void *  addr,
const struct type type 
)

Definition at line 819 of file doublest.c.

enum float_kind floatformat_classify ( const struct floatformat *  ,
const bfd_byte *   
)

Definition at line 534 of file doublest.c.

void floatformat_from_doublest ( const struct floatformat *  ,
const DOUBLEST in,
void *  out 
)

Definition at line 729 of file doublest.c.

struct floatformat* floatformat_from_type ( const struct type type) [read]

Definition at line 804 of file doublest.c.

int floatformat_is_negative ( const struct floatformat *  ,
const bfd_byte *   
)

Definition at line 508 of file doublest.c.

const char* floatformat_mantissa ( const struct floatformat *  ,
const bfd_byte *   
)

Definition at line 621 of file doublest.c.

void floatformat_to_doublest ( const struct floatformat *  ,
const void *  in,
DOUBLEST out 
)

Definition at line 699 of file doublest.c.

void store_typed_floating ( void *  addr,
const struct type type,
DOUBLEST  val 
)

Definition at line 832 of file doublest.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines