| The Gaudi Framework v29r1 (5cd95fa2)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Functions
xtoa.cpp File Reference
`#include "GaudiKernel/xtoa.h"`
`#include <limits.h>`
`#include <stdlib.h>`
Include dependency graph for xtoa.cpp:

Go to the source code of this file.

## Functions
char *__cdecl | _itoa (int val, char *buf, int radix)
char *__cdecl | _ltoa (long val, char *buf, int radix)
char *__cdecl | _ultoa (unsigned long val, char *buf, int radix)

## Function Documentation

char* __cdecl _itoa | ( | int | val,
|  | char * | buf,
|  | int | radix
| ) |  |

Definition at line 84 of file xtoa.cpp.

85 {
86 if ( radix == 10 && val < 0 )
87 xtoa( (unsigned long)val, buf, radix, 1 );
88 else
89 xtoa( (unsigned long)(unsigned int)val, buf, radix, 0 );
90 return buf;
91 }

char* __cdecl _ltoa | ( | long | val,
|  | char * | buf,
|  | int | radix
| ) |  |

Definition at line 93 of file xtoa.cpp.

94 {
95 xtoa( (unsigned long)val, buf, radix, ( radix == 10 && val < 0 ) );
96 return buf;
97 }

char* __cdecl _ultoa | ( | unsigned long | val,
|  | char * | buf,
|  | int | radix
| ) |  |

Definition at line 99 of file xtoa.cpp.

100 {
101 xtoa( val, buf, radix, 0 );
102 return buf;
103 }