Log for attempted build of libmath-mpfr-perl_3.17-1 on m68k (dist=unstable)

Daniel Kahn Gillmor dkg at fifthhorseman.net
Sun May 5 03:07:57 UTC 2013


On 05/04/2013 11:03 PM, sisyphus1 at optusnet.com.au wrote:

> Hopefully that will report precisons of 80 and 24687 respectively.
> (Otherwise, I really struggle to understand what's going wrong.)


0 dkg at reason:~/src/endianness$ cat > test2.c
#include <stdio.h>
#include <mpfr.h>

int main(void) {
unsigned long long x = 80LL;
unsigned long long y = 24687LL;

mpfr_printf("precision of x: %Pu\n", (mpfr_prec_t)x);
mpfr_printf("precision of x: %Pu\n", (mpfr_prec_t)y);

return 0;
}
0 dkg at reason:~/src/endianness$ gcc -lmpfr -g -o test2 test2.c
0 dkg at reason:~/src/endianness$ ./test2
precision of x: 80
precision of x: 24687
0 dkg at reason:~/src/endianness$

looks like you're on the right track :)

	--dkg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 1027 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20130504/633d3bcc/attachment.pgp>


More information about the pkg-perl-maintainers mailing list