Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- template< typename Allocator >
- inline wrekWindowsAmd64Sse2::String< char, Allocator > Convert< __int64, wrekWindowsAmd64Sse2::String< char, Allocator > >::Linear( const __int64& rhs ) const
- {
- __int64 stackTop0;
- __int64 stackTop1;
- __int64 stackTop2;
- wrekWindowsAmd64Sse2::String< char, Allocator > string;
- if( rhs )
- {
- stackTop0 = rhs & 0x7FFFFFFFFFFFFF;
- stackTop1 = stackTop0;
- stackTop2 = rhs >> 0x3F;
- for( ; stackTop1; stackTop1 /= 10 )
- {
- stackTop2++;
- }
- string.Assure( stackTop2 );
- for( ; stackTop0; stackTop /= 10 )
- {
- string[ --stackTop2 ] = '0' + stackTop % 10;
- }
- if( stackTop2 )
- {
- string[ --stackTop2 ] = '-';
- }
- }
- else
- {
- string.Append( '0' );
- }
- return string;
- }
Add Comment
Please, Sign In to add comment