guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#60075] [PATCH 09/58] gnu: Add julia-irrationalconstants.


From: zimoun
Subject: [bug#60075] [PATCH 09/58] gnu: Add julia-irrationalconstants.
Date: Mon, 19 Dec 2022 19:11:32 +0100

Hi,

On Wed, 14 Dec 2022 at 22:35, Efraim Flashner <efraim@flashner.co.il> wrote:
> * gnu/packages/julia-xyz.scm (julia-irrationalconstants): New variable.

[...]

> +    (description "This package defines the following irrational constants in 
> Julia.")

This description looks incomplete.  I suggest to replace by:

--8<---------------cut here---------------start------------->8---
This package defines more irrational constants in Julia.
--8<---------------cut here---------------end--------------->8---

or by:

--8<---------------cut here---------------start------------->8---
+      (description "This package provides these irrational constants:
+@itemize
+@item
+@item twoπ       = 2π
+@item fourπ      = 4π
+@item halfπ      = π / 2
+@item quartπ     = π / 4
+@item invπ       = 1 / π
+@item twoinvπ    = 2 / π
+@item fourinvπ   = 4 / π
+@item inv2π      = 1 / (2π)
+@item inv4π      = 1 / (4π)
+@item sqrt2      = √2
+@item sqrt3      = √3
+@item sqrtπ      = √π
+@item sqrt2π     = √2π
+@item sqrt4π     = √4π
+@item sqrthalfπ  = √(π / 2)
+@item invsqrt2   = 1 / √2
+@item invsqrtπ   = 1 / √π
+@item invsqrt2π  = 1 / √2π
+@item loghalf    = log(1 / 2)
+@item logtwo     = log(2)
+@item logten     = log(10)
+@item logπ       = log(π)
+@item log2π      = log(2π)
+@item log4π      = log(4π)
+@end itemize")
--8<---------------cut here---------------end--------------->8---

With a preference for the latter.

Cheers,
simon





reply via email to

[Prev in Thread] Current Thread [Next in Thread]