int128_t.hpp
string AsString(const int64 &Value,const char *format)
{
    char temp[256];
    string ret;
    switch (format[1])
    {
        case 'd':
            sprintf(temp,"%lld",Value);
            ret=temp;
            break;
        case 'b':
            sprintf(temp,"%llb",Value);
            ret=temp;
            break;
        case 'X':
            sprintf(temp,"%llX",Value);
            ret=temp;
            break;
        case 'x':
            sprintf(temp,"%llx",Value);
            ret=temp;
            break;
    }
    return ret;
}
// this takes the 64-bit value and prints it out given the formatter
// this is about as far from efficient as can be
this takes the 64-bit value and prints it out given the formatter
this is about as far from efficient as can be
this takes the 64 - bit value and prints it out given the formatter this is about as far from efficient as can be
string AsString(const int64 &Value,const char *format)
{
    char temp[256];
    string ret;
    switch (format[1])
    {
        case 'd':
            sprintf(temp,"%lld",Value);
            ret=temp;
            break;
        case 'b':
            sprintf(temp,"%llb",Value);
            ret=temp;
            break;
        case 'X':
            sprintf(temp,"%llX",Value);
            ret=temp;
            break;
        case 'x':
            sprintf(temp,"%llx",Value);
            ret=temp;
            break;
    }
    return ret;
}
string AsString ( const int64 & Value , const char * format ) { char temp [ 256 ] ; string ret ; switch ( format [ 1 ] ) { case ' ' : sprintf ( temp , " " , Value ) ; ret = temp ; break ; case ' ' : sprintf ( temp , " " , Value ) ; ret = temp ; break ; case ' ' : sprintf ( temp , " " , Value ) ; ret = temp ; break ; case ' ' : sprintf ( temp , " " , Value ) ; ret = temp ; break ; } return ret ; }
this takes the 64-bit value and prints it out given the formatter
this is about as far from efficient as can be
this takes the 64 - bit value and prints it out given the formatter this is about as far from efficient as can be