Subject: [PATCH go-team 3/6] gnu: Add go-github-com-x448-float16.

From: Rodion Goritskov <[email-masked]>
Date: Wed, 1 May 2024 00:42:43 +0400

* gnu/packages/golang.scm (go-github-com-x448-float16): New variable.

Change-Id: I02d8b8b6fea19f6a7b882cfa5d0165d7751f76bf
---
 gnu/packages/golang.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 4ce6f5ea6b..18ff264ecf 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2072,6 +2072,31 @@ (define-public go-github-com-flopp-go-findfont
 TrueType font files in your system's user and system font directories.")
     (license license:expat)))
 
+(define-public go-github-com-x448-float16
+  (package
+    (name "go-github-com-x448-float16")
+    (version "0.8.4")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/x448/float16")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0qg6ya30fra20hpa2qzqqzs8l95lvw9yzd87fdzq195xqi6crb2l"))))
+    (build-system go-build-system)
+    (arguments
+     (list
+      #:import-path "github.com/x448/float16"))
+    (home-page "https://github.com/x448/float16")
+    (synopsis "Float16 (Binary16) in Go/Golang")
+    (description
+     "Package provides IEEE 754 half-precision floating-point format (binary16)
+with IEEE 754 default rounding for conversions.  IEEE 754-2008 refers to this
+16-bit floating-point format as binary16.")
+    (license license:expat)))
+
 (define-public go-github-com-phpdave11-gofpdi
   (package
     (name "go-github-com-phpdave11-gofpdi")
-- 
2.41.0