diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm index 11c5b87d07..50be99ba6f 100644 --- a/gnu/packages/julia-xyz.scm +++ b/gnu/packages/julia-xyz.scm @@ -813,3 +813,29 @@ categories (ordinal variables), optionally with missing values.") (synopsis "In-memory tabular data in Julia") (description "Tools for working with tabular data in Julia.") (license license:expat))) + +(define-public julia-fixedpointnumbers + (package + (name "julia-fixedpointnumbers") + (version "0.6.1") + (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 "033s9gi94xs97kshy2mcx5mvdkigdf4aqgaa6qgq6kz4s6gbpa9r")))) + (propagated-inputs `(("julia-compat" ,julia-compat))) + (build-system julia-build-system) + (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)))