From 3a0f60d4e21dd893ee11ddde0947c0323c9b5537 Mon Sep 17 00:00:00 2001 From: nixo Date: Mon, 24 Feb 2020 15:54:30 +0100 Subject: [PATCH 12/16] gnu: Add julia-fixedpointnumbers. * gnu/packages/julia-xyz.scm (julia-fixedpointnumbers): New variable. --- gnu/packages/julia-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 5cc7529c20..046c365b08 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -96,6 +96,32 @@ provides a macro that lets you use the latest syntax in a backwards-compatible way.") (license license:expat))) +(define-public julia-fixedpointnumbers + (package + (name "julia-fixedpointnumbers") + (version "0.8.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/JuliaMath/FixedPointNumbers.jl") + (commit (string-append "v" version)))) + (file-name "FixedPointNumbers") + (sha256 + (base32 "0zi0va64vhnhqga62j7116m5alrkfzlv7qady4bq6v9sfrwfzvw1")))) + (build-system julia-build-system) + (propagated-inputs `(("julia-compat" ,julia-compat))) + (home-page "https://github.com/JuliaMath/FixedPointNumbers.jl") + (synopsis "Fixed point types for julia") + (description "This library implements fixed-point number types. A +fixed-point number represents a fractional, or non-integral, number. In +contrast with the more widely known floating-point numbers, with fixed-point +numbers the decimal point doesn't \"float\": fixed-point numbers are +effectively integers that are interpreted as being scaled by a constant +factor. Consequently, they have a fixed number of digits (bits) after the +decimal (radix) point.") + (license license:expat))) + (define-public julia-inifile (package (name "julia-inifile") -- 2.25.0