| The Gaudi Framework v28r2-patches (bc4ad17a)

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

- File List
- File Members

Functions
xtoa.cpp File Reference
`#include <stdlib.h>`
`#include <limits.h>`
`#include "GaudiKernel/xtoa.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 83 of file xtoa.cpp.

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

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

Definition at line 91 of file xtoa.cpp.

91 {
92 xtoa((unsigned long)val, buf, radix, (radix == 10 && val < 0));
93 return buf;
94 }

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

Definition at line 96 of file xtoa.cpp.

96 {
97 xtoa(val, buf, radix, 0);
98 return buf;
99 }