MCPcopy Create free account
hub / github.com/TASEmulators/fceux / U32ToDecStr

Function U32ToDecStr

src/utils/xstring.cpp:499–513  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

497}
498
499char *U32ToDecStr(char* buf, uint32 a)
500{
501 buf[0] = '0' + a/1000000000;
502 buf[1] = '0' + (a%1000000000)/100000000;
503 buf[2] = '0' + (a%100000000)/10000000;
504 buf[3] = '0' + (a%10000000)/1000000;
505 buf[4] = '0' + (a%1000000)/100000;
506 buf[5] = '0' + (a%100000)/10000;
507 buf[6] = '0' + (a%10000)/1000;
508 buf[7] = '0' + (a%1000)/100;
509 buf[8] = '0' + (a%100)/10;
510 buf[9] = '0' + (a%10);
511 buf[10] = 0;
512 return buf;
513}
514char *U32ToDecStr(uint32 a)
515{
516 return U32ToDecStr(TempArray,a);

Callers 5

getDispInfoMethod · 0.85
redrawBranchesBitmapMethod · 0.85
getDispInfoMethod · 0.85
markerDragBoxWndProcFunction · 0.85
paintEventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected