Changeset e83a9f7 in mainline for test/print/print1/test.c


Ignore:
Timestamp:
2005-09-01T15:02:43Z (20 years ago)
Author:
Josef Cejka <malyzelenyhnus@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
de25b6f
Parents:
623ba26c
Message:

Created fmath as basic tool for IEEE 754 floating point numbers.
Added option $F for printf for printing "double" type.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/print/print1/test.c

    r623ba26c re83a9f7  
    3737        printf(" W  %W  %w \n",0x0123 ,0x0123);   
    3838        printf(" B  %B  %b \n",0x01 ,0x01);
     39        printf(" F  %F  %f (123456789.987654321)\n",123456789.987654321,123456789.987654321);
     40        printf(" F  %F  %f (-123456789.987654321e-10)\n",-123456789.987654321e-10,-123456789.987654321e-10);
    3941        return;
    4042}
Note: See TracChangeset for help on using the changeset viewer.