Message: Re: Bug in degree Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Bug in degree 

Keywords: Degree bug
Forum: Physics List
Re: Sad Bug in degree (Xinhua)
Date: 24 Nov, 2004
From: michel maire <michel maire>

User Xinhua wrote:

>> There is a bug on degree in both CLHEP/UNITS/SystemOfUnits.h and in 
>> Geant4. Degree = 3.1415.../180 * radian.
>> It should go like this   Degree = 180/3.1415.. * radian   

 I do not think so.
 radian is the default unit (radian = 1). Degree is the factor to
 convert a value from degree to radian:

 angle (expressed in radian) = angle (expressed in degree) * Degree

 This is the basic idea of the whole SystemOfUnits.h 

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

 Add Message Add Message
to: "Re: Bug in degree"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]