Changeset 2f7342d in mainline


Ignore:
Timestamp:
2006-03-15T17:31:23Z (19 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8e0eb63
Parents:
3b05862f
Message:

() patch for FPU 1 test

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/fpu/fpu1/test.c

    r3b05862f r2f7342d  
    6767
    6868                if((int)(100000000*e)!=E_10e8)
    69                         panic("tid%d: e*10e8=%d\n", THREAD->tid, (int) 100000000*e);
     69                        panic("tid%d: e*10e8=%d should be %d\n", THREAD->tid, (__native) (100000000*e),(__native) E_10e8);
    7070        }
    7171
     72        printf("tid%d: e*10e8=%d should be %d\n", THREAD->tid, (__native) (100000000*e),(__native) E_10e8);
    7273        atomic_inc(&threads_ok);
    7374}
     
    9798
    9899                if((int)(100000000*pi)!=PI_10e8)
    99                         panic("tid%d: pi*10e8=%d\n", THREAD->tid, (int) 100000000*pi);
     100                        panic("tid%d: pi*10e8=%d should be %d\n", THREAD->tid, (__native) (100000000*pi),(__native) PI_10e8);
    100101        }
    101102
     103        printf("tid%d: pi*10e8=%d should be %d\n", THREAD->tid, (__native) (100000000*pi),(__native) PI_10e8);
    102104        atomic_inc(&threads_ok);
    103105}
Note: See TracChangeset for help on using the changeset viewer.