Changeset 2f7342d in mainline
- Timestamp:
- 2006-03-15T17:31:23Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8e0eb63
- Parents:
- 3b05862f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/fpu/fpu1/test.c
r3b05862f r2f7342d 67 67 68 68 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); 70 70 } 71 71 72 printf("tid%d: e*10e8=%d should be %d\n", THREAD->tid, (__native) (100000000*e),(__native) E_10e8); 72 73 atomic_inc(&threads_ok); 73 74 } … … 97 98 98 99 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); 100 101 } 101 102 103 printf("tid%d: pi*10e8=%d should be %d\n", THREAD->tid, (__native) (100000000*pi),(__native) PI_10e8); 102 104 atomic_inc(&threads_ok); 103 105 }
Note:
See TracChangeset
for help on using the changeset viewer.