#include "GaudiKernel/Kernel.h"
#include <cstdlib>
Go to the source code of this file.
Defines |
| #define | __cdecl |
| #define | __stdcall |
| #define | _ecvt ecvt |
Functions |
| GAUDI_API char *__cdecl | _itoa (int val, char *buf, int radix) |
| GAUDI_API char *__cdecl | _ltoa (long val, char *buf, int radix) |
| GAUDI_API char *__cdecl | _ultoa (unsigned long val, char *buf, int radix) |
Define Documentation
Definition at line 2 of file xtoa.h.
Definition at line 3 of file xtoa.h.
Function Documentation
| GAUDI_API char* __cdecl _itoa |
( |
int |
val, |
|
|
char * |
buf, |
|
|
int |
radix |
|
) |
| |
Definition at line 83 of file xtoa.cpp.
{
if (radix == 10 && val < 0)
xtoa((unsigned long)val, buf, radix, 1);
else
xtoa((unsigned long)(unsigned int)val, buf, radix, 0);
return buf;
}
| GAUDI_API char* __cdecl _ltoa |
( |
long |
val, |
|
|
char * |
buf, |
|
|
int |
radix |
|
) |
| |
Definition at line 91 of file xtoa.cpp.
{
xtoa((unsigned long)val, buf, radix, (radix == 10 && val < 0));
return buf;
}
| GAUDI_API char* __cdecl _ultoa |
( |
unsigned long |
val, |
|
|
char * |
buf, |
|
|
int |
radix |
|
) |
| |
Definition at line 96 of file xtoa.cpp.
{
xtoa(val, buf, radix, 0);
return buf;
}