{ "name": "mpfr", "version": "4.2.2", "summary": "GNU MPFR: floating-point arithmetic with any precision and correct rounding, over GMP (for gdb)", "category": "library", "license": "LGPL-3.0-or-later", "homepage": "https://www.mpfr.org/", "source": { "url": "https://mirrors.kernel.org/gnu/mpfr/mpfr-4.2.2.tar.xz", "sha256": "b67ba0383ef7e8a8563734e2e889ef5ec3c3b898a01d00fa0a6869ad81c6ce01" }, "watch": {"kind": "index", "url": "https://mirrors.kernel.org/gnu/mpfr/", "regex": "mpfr-([0-9]+(?:\\.[0-9]+)+)\\.tar\\.xz"}, "deps": [ "gmp" ], "env_packages": [], "static": true, "nss": false, "check": "check_lib mpfr mpfr.h 'mpfr_t x; char buf[64]; mpfr_init2(x, 200); mpfr_set_ui(x, 2, MPFR_RNDN); mpfr_sqrt(x, x, MPFR_RNDN); mpfr_sprintf(buf, \"%.40Rf\", x); mpfr_const_pi(x, MPFR_RNDN); printf(\"mpfr %s: sqrt(2) = %s\\n\", mpfr_get_version(), buf); mpfr_clear(x); return strcmp(buf, \"1.4142135623730950488016887242096980785697\")'" }