[cctbxbb] single or double precision ?

Nathaniel Echols nechols at lbl.gov
Sun Aug 12 13:46:42 PDT 2012


On Sun, Aug 12, 2012 at 12:48 PM, Pascal <pascal22p at parois.net> wrote:
> Is cctbx doing all the calculations in double or single precision? I am
> intersted in the direct method of the structure factors calculation.
> From what I saw it's double precision but I am not sure.

As far as I know everything is double-precision in practice - the
majority of the C++ code is written as templates so in theory could be
either single- or double-precision, but the latter is always what gets
used.

-Nat


More information about the cctbxbb mailing list