Changeset 7f1c620 in mainline for test/fpu/fpu1/test.c
- Timestamp:
- 2006-07-04T17:17:56Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0ffa3ef5
- Parents:
- 991779c5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/fpu/fpu1/test.c
r991779c5 r7f1c620 96 96 97 97 if((int)(100000000*e)!=E_10e8) 98 panic("tid%d: e*10e8=%zd should be %zd\n", THREAD->tid, ( __native) (100000000*e),(__native) E_10e8);98 panic("tid%d: e*10e8=%zd should be %zd\n", THREAD->tid, (unative_t) (100000000*e),(unative_t) E_10e8); 99 99 } 100 100 101 printf("tid%d: e*10e8=%zd should be %zd\n", THREAD->tid, ( __native) (100000000*e),(__native) E_10e8);101 printf("tid%d: e*10e8=%zd should be %zd\n", THREAD->tid, (unative_t) (100000000*e),(unative_t) E_10e8); 102 102 atomic_inc(&threads_ok); 103 103 } … … 137 137 #ifdef __ia64_ARCH_H__ 138 138 if((int)(1000000*pi)!=PI_10e8) 139 panic("tid%d: pi*10e8=%zd should be %zd\n", THREAD->tid, ( __native) (1000000*pi),(__native) (PI_10e8/100));139 panic("tid%d: pi*10e8=%zd should be %zd\n", THREAD->tid, (unative_t) (1000000*pi),(unative_t) (PI_10e8/100)); 140 140 #else 141 141 if((int)(100000000*pi)!=PI_10e8) 142 panic("tid%d: pi*10e8=%zd should be %zd\n", THREAD->tid, ( __native) (100000000*pi),(__native) PI_10e8);142 panic("tid%d: pi*10e8=%zd should be %zd\n", THREAD->tid, (unative_t) (100000000*pi),(unative_t) PI_10e8); 143 143 #endif 144 144 145 145 } 146 146 147 printf("tid%d: pi*10e8=%zd should be %zd\n", THREAD->tid, ( __native) (100000000*pi),(__native) PI_10e8);147 printf("tid%d: pi*10e8=%zd should be %zd\n", THREAD->tid, (unative_t) (100000000*pi),(unative_t) PI_10e8); 148 148 atomic_inc(&threads_ok); 149 149 }
Note:
See TracChangeset
for help on using the changeset viewer.