[#BloombergLP-bslfmt-TestSpecificationGenerator-addPrecision] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslfmt.adoc[bslfmt]::xref:BloombergLP/bslfmt/TestSpecificationGenerator.adoc[TestSpecificationGenerator]::addPrecision :relfileprefix: ../../../ :mrdocs: Add a precision value to the set used when generating specifications. == Synopsis Declared in `<bslfmt_testspecificationgenerator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void addPrecision(int precision); ---- == Description Add the specified `precision` to the set of precision values. Note that generated instructions will contain the `precision` only if this function is called before the `setup` method invocation. == Parameters [cols="1,4"] |=== | Name| Description | *precision* | non‐negative precision value to add to the generation set |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#