Commit 55b8f8be authored by David Gibson's avatar David Gibson
Browse files

target/ppc: Style fixes for mfrom_table.inc.c & mfrom_table_gen.c

parent 5a2c8b9e
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
static const uint8_t mfrom_ROM_table[602] =
{
static const uint8_t mfrom_ROM_table[602] = {
     77,  77,  76,  76,  75,  75,  74,  74,
     73,  73,  72,  72,  71,  71,  70,  70,
     69,  69,  68,  68,  68,  67,  67,  66,
+5 −3
Original line number Diff line number Diff line
@@ -10,7 +10,8 @@ int main (void)

    printf("static const uint8_t mfrom_ROM_table[602] =\n{\n    ");
    for (i = 0; i < 602; i++) {
        /* Extremely decomposed:
        /*
         * Extremely decomposed:
         *                    -T0 / 256
         * T0 = 256 * log10(10          + 1.0) + 0.5
         */
@@ -23,9 +24,10 @@ int main (void)
        d += 0.5;
        n = d;
        printf("%3d, ", n);
        if ((i & 7) == 7)
        if ((i & 7) == 7) {
            printf("\n    ");
        }
    }
    printf("\n};\n");

    return 0;