[#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&period;

== Synopsis

Declared in `&lt;bslfmt&lowbar;testspecificationgenerator&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
addPrecision(int precision);
----

== Description

Add the specified `precision` to the set of precision values&period; Note that generated instructions will contain the `precision` only if this function is called before the `setup` method invocation&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *precision*
| non&hyphen;negative precision value to add to the generation set
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
