Next: , Previous: Physical dimension, Up: Physical Quantities


5.4 Physical constants

It is possible to define physical constants which may then be used either in a mathematical expression or in a physical quantity definition

     ANTIK-USER> (define-physical-constant smoot
         #_1.70180_m (ors) smoot
       "The unit of length named after Oliver R. Smoot.")
     ANTIK-USER> (* 3 smoot)
     #_5.105399999999999d0_m
     ANTIK-USER> #_3_ors
     #_5.105399999999999d0_m
— Macro: antik:define-physical-constant name value &optional synonyms print-name docstring

Define the variable to be the physical dimension quantity given, and also make it a unit of measure.