When calculating a*a-b*b the form (a-b)*(a+b) is usually more numerically stable.
authorfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 2 Feb 2009 11:12:50 +0000 (11:12 +0000)
committerfca <fca@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 2 Feb 2009 11:12:50 +0000 (11:12 +0000)
commit60e55aee9905a1a5e66dce1cd084737911e78b04
treef4cf1fafab5b8f6c520da5669346a75df4ae8950
parentc2b4bada33897bcf72b195375c91c04751126e32
When calculating a*a-b*b the form (a-b)*(a+b) is usually more numerically stable.
40 files changed:
EVGEN/AliGenGeVSim.cxx
EVGEN/AliGenHBTosl.cxx
EVGEN/AliGenMC.cxx
EVGEN/AliGenParam.cxx
EVGEN/AliGenSlowNucleons.cxx
HMPID/AliHMPIDv1.cxx
HMPID/AliHMPIDv2.cxx
HMPID/AliHMPIDv3.cxx
ITS/AliITSNeuralTrack.cxx
ITS/AliITSTrackV1.cxx
ITS/AliITStrackMI.cxx
ITS/AliITStrackerMI.cxx
ITS/AliITSv11GeomCableFlat.cxx
ITS/AliITSv11GeometrySPD.cxx
ITS/AliITSv11GeometrySSD.cxx
LHC/AliLhcProcessIBS.cxx
MUON/AliMUONTrackExtrap.cxx
PWG1/AliComparisonDEdx.cxx
PWG1/AliComparisonDraw.cxx
PYTHIA6/AliPythia.cxx
PYTHIA6/AliPythia6.cxx
STEER/AliESDTagCreator.cxx
STEER/AliESDcascade.cxx
STEER/AliExternalTrackParam.cxx
STEER/AliRieman.cxx
STEER/AliTracker.cxx
STEER/AliVParticle.cxx
STEER/AliVertexerTracks.cxx
TEPEMGEN/diffcross.f
TPC/AliTPCTracklet.cxx
TPC/AliTPCcalibAlign.cxx
TPC/AliTPCseed.cxx
TPC/AliTPCtrackerMI.cxx
TPC/template.cxx
TPHIC/tphic17.f
TRD/AliTRDCalibraFillHisto.cxx
TRD/AliTRDseed.cxx
TRD/AliTRDtracker.cxx
TRD/AliTRDtrackerV1.cxx
macros/TestRieman.C