summaryrefslogtreecommitdiff
path: root/math/grpn/patches/patch-al
blob: fd56087dc6e44cc7d5cbff72e787d23cda550120 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
$NetBSD: patch-al,v 1.1 2005/10/07 12:31:25 rillig Exp $

The patches patch-al upto patch-aq add the physical constants k, q, e0,
mu0, and c.

--- button_def.c.orig	Thu Apr  4 05:46:10 2002
+++ button_def.c	Fri Oct  7 14:24:25 2005
@@ -34,6 +34,16 @@ Foundation, Inc., 59 Temple Place - Suit
 extern void baseCmdCB(GtkWidget *, gpointer);
 
 FuncInfo invisible1[] = {
+   { "k", "k", "Boltzmann's constant (Joules/Kelvin).",
+      genericButtonCB, (void *)BoltzmannStack },
+   { "q", "q", "Electron Charge (coulomb).",
+      genericButtonCB, (void *)ChargeStack },
+   { "e0", "e0", "Free space permitivitty (Farads/meter).",
+      genericButtonCB, (void *)E0Stack },
+   { "mu0", "mu0", "Free space permeability (Henries/meter).",
+      genericButtonCB, (void *)Mu0Stack },
+   { "c", "c", "Free space speed of light (meters/second).",
+      genericButtonCB, (void *)LightSpeedStack },
    { "Hex", "hex", "Hexidecimal display mode.",
       baseCmdCB, (void *)HEXIDECIMAL },
    { "Dec", "dec", "Decimal display mode.",
@@ -137,7 +147,7 @@ struct RowInfo rowinf[] = {
    { 8, 8, num456 },
    { 8, 8, num123 },
    { 8, 8, num0 },
-   { 14, 0, invisible1 }
+   { 19, 0, invisible1 }
 };