Log for attempted build of libmath-mpfr-perl_3.17-1 on m68k (dist=unstable)
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Sat May 4 04:36:00 UTC 2013
On Sat 2013-05-04 00:27:36 -0400, sisyphus1 at optusnet.com.au wrote:
> Could someone try this script (on one of the big-endian machines) and send
> me the output, please :
this is on a powerpc machine:
0 dkg at reason:~/src/endianness$ cat > test.c
#include <stdio.h>
#include <mpfr.h>
int main(void) {
long long int a[9] = {80LL, 580LL, 1000001LL, 5003607LL, 2107083607LL, 2147483647LL, 2140000000LL, 1454735360LL, 1868562432LL};
long long int b[9] = {1342177280LL, 1140981760LL, 1094848256LL, 1465469952LL, 1468766077LL, 4294967167LL, 13602175LL, 8435030LL, 24687LL};
int i;
for(i = 0; i < 9; ++i) {
printf("Want %llu\n", a[i]);
mpfr_printf("Got %Pu\n\n", b[i]);
}
for(i = 0; i < 9; ++i) {
printf("Want %llu\n", a[i]);
mpfr_printf("Got %Pu\n\n", a[i] << 32);
}
return 0;
}
0 dkg at reason:~/src/endianness$ gcc -lmpfr -g -o test test.c
0 dkg at reason:~/src/endianness$ ./test
Want 80
Got 4153774080
Want 580
Got 4153774080
Want 1000001
Got 4153774080
Want 5003607
Got 4153774080
Want 2107083607
Got 4153774080
Want 2147483647
Got 4153774080
Want 2140000000
Got 4153774080
Want 1454735360
Got 4153774080
Want 1868562432
Got 4153774080
Want 80
Got 4153774080
Want 580
Got 4153774080
Want 1000001
Got 4153774080
Want 5003607
Got 4153774080
Want 2107083607
Got 4153774080
Want 2147483647
Got 4153774080
Want 2140000000
Got 4153774080
Want 1454735360
Got 4153774080
Want 1868562432
Got 4153774080
0 dkg at reason:~/src/endianness$
hth,
--dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 965 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20130504/d856a4cf/attachment.pgp>
More information about the pkg-perl-maintainers
mailing list