Home
last modified time | relevance | path

Searched refs:precision (Results 1 – 25 of 88) sorted by relevance

1234

/plugin/elasticsearch/vendor/ruflin/elastica/src/Aggregation/
H A DGeohashGrid.php40 * Set the precision for this aggregation.
42 * @param int|string $precision an integer between 1 and 12, inclusive. Defaults to 5 or distance like 1km, 10m
46 public function setPrecision($precision): self argument
48 if (!\is_int($precision) && !\is_string($precision)) {
49 throw new \TypeError(\sprintf('Argument 1 passed to "%s()" must be of type int|string, %s given.', __METHOD__, \is_object($precision) ? \get_class($precision) : \gettype($precision)));
52 return $this->setParam('precision', $precision);
[all...]
H A DGeotileGridAggregation.php40 * Set the precision for this aggregation.
42 * @param int $precision an integer between 1 and 12, inclusive. Defaults to 5.
46 public function setPrecision(int $precision): self argument
48 return $this->setParam('precision', $precision);
/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Argument/Token/
H A DApproximateValueToken.php22 private $precision; variable in Prophecy\\Argument\\Token\\ApproximateValueToken
24 public function __construct($value, $precision = 0) argument
27 $this->precision = $precision;
35 … return round($argument, $this->precision) === round($this->value, $this->precision) ? 10 : false;
53 return sprintf('≅%s', round($this->value, $this->precision));
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Bigquery/
H A DAggregateClassificationMetrics.php25 public $precision; variable in Google\\Service\\Bigquery\\AggregateClassificationMetrics
54 public function setPrecision($precision) argument
56 $this->precision = $precision;
60 return $this->precision;
H A DBinaryConfusionMatrix.php33 public $precision; variable in Google\\Service\\Bigquery\\BinaryConfusionMatrix
96 public function setPrecision($precision) argument
98 $this->precision = $precision;
102 return $this->precision;
H A DTableFieldSchema.php52 public $precision; variable in Google\\Service\\Bigquery\\TableFieldSchema
177 public function setPrecision($precision) argument
179 $this->precision = $precision;
186 return $this->precision;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Document/
H A DGoogleCloudDocumentaiV1EvaluationMetrics.php26 public $precision; variable in Google\\Service\\Document\\GoogleCloudDocumentaiV1EvaluationMetrics
64 public function setPrecision($precision) argument
66 $this->precision = $precision;
70 return $this->precision;
/plugin/authgooglesheets/vendor/google/apiclient-services/src/Datastream/
H A DOracleColumn.php49 public $precision; variable in Google\\Service\\Datastream\\OracleColumn
146 public function setPrecision($precision) argument
148 $this->precision = $precision;
155 return $this->precision;
/plugin/findologicxmlexport/vendor/twig/twig/doc/filters/
H A Dround.rst7 The ``round`` filter rounds a number to a given precision:
18 precision (default is ``0``) and the second the rounding method (default is
21 * ``common`` rounds either up or down (rounds the value up to precision decimal
36 * ``precision``: The rounding precision
/plugin/authgooglesheets/vendor/google/apiclient-services/src/DataLabeling/
H A DGoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry.php41 public $precision; variable in Google\\Service\\DataLabeling\\GoogleCloudDatalabelingV1beta1ConfidenceMetricsEntry
122 public function setPrecision($precision) argument
124 $this->precision = $precision;
131 return $this->precision;
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/
H A DEngine.php102 protected $precision = -1; variable in phpseclib3\\Math\\BigInteger\\Engines\\Engine
252 return $this->precision > 0 ? str_repeat(chr(0), ($this->precision + 1) >> 3) : '';
294 $result = $this->precision > 0 ? substr($bits, -$this->precision) : ltrim($bits, '0');
412 return $this->precision > 0 ? $result + ['precision' => $this->precision] : $result;
426 $this->precision = -1;
431 $this->precision = $bits;
447 return $this->precision;
540 $precision = $this->precision;
552 $mask = chr((1 << ($precision & 0x7)) - 1) . str_repeat(chr(0xFF), $precision >> 3);
556 $shift += $precision;
[all …]
H A DGMP.php132 if ($this->precision > 0) {
133 $bits = substr($bits, -$this->precision);
136 if ($twos_compliment && $this->compare(new static()) > 0 && $this->precision <= 0) {
156 return $this->precision > 0 ? str_repeat(chr(0), ($this->precision + 1) >> 3) : '';
161 return $this->precision > 0 ?
162 … substr(str_pad($temp, $this->precision >> 3, chr(0), STR_PAD_LEFT), -($this->precision >> 3)) :
469 $result->precision = $this->precision;
H A DBCMath.php162 return $this->precision > 0 ?
163 … substr(str_pad($value, $this->precision >> 3, chr(0), STR_PAD_LEFT), -($this->precision >> 3)) :
480 $result->precision = $this->precision;
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Filter/Sass/
H A DSassFilter.php36 private $precision; variable in Assetic\\Filter\\Sass\\SassFilter
67 public function setPrecision($precision) argument
69 $this->precision = $precision;
132 if ($this->precision) {
133 $pb->add('--precision')->add($this->precision);
/plugin/geophp/vendor/funiq/geophp/src/Adapter/
H A DGeoHash.php112 * @param float|null $precision
115 public function write(Geometry $geometry, $precision = null) argument
123 return $this->encodePoint($geometry, $precision);
152 * @param float|null $precision
156 private function encodePoint($point, $precision = null) argument
168 if (!is_numeric($precision)) {
171 $precision = pow(10, -max($lap - 1, $lop - 1, 0)) / 2;
181 while ($error >= $precision) {
/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/
H A DArgument.php204 * @param float $precision
208 public static function approximate($value, $precision = 0) argument
210 return new Token\ApproximateValueToken($value, $precision);
/plugin/pureldap/vendor/freedsx/asn1/
H A DCHANGELOG.md48 * Add arbitrary precision support for tag numbers.
49 * Add arbitrary precision support for OID types.
56 * Support arbitrary-precision for Integer/Enumerated types with the GMP extension.
/plugin/directorylist/syntax/
H A Ddirectorylist.php197 * @param integer $precision
200 private function formatBytes(SplFileInfo $file, $precision = 2) argument
205 $return = round(pow(1024, $base - floor($base)), $precision) .' '. $suffixes[floor($base)];
/plugin/photogallery/phpThumb/demo/
H A DphpThumb.demo.check.php531 function NiceTimeFormatting($seconds, $precision=1, $returnparts=false) { argument
542 $value = number_format($minutes, $precision);
548 $value = number_format($hours, $precision);
554 $value = number_format($days, $precision);
560 $value = number_format($months, $precision);
566 $value = number_format($years, $precision);
/plugin/jplayer/vendor/happyworm/jplayer/lib/circle-player/js/
H A Djquery.transform2d.js207 precision = 1E5,
248 …Math.round( (startVal[1][0] + (endVal[1][0] - startVal[1][0]) * pos) * precision ) / precision + u…
249 …Math.round( (startVal[1][1] + (endVal[1][1] - startVal[1][1]) * pos) * precision ) / precision + u…
257 Math.round( (startVal[1] + (endVal[1] - startVal[1]) * pos) * precision ) / precision +"rad)"+
/plugin/findologicxmlexport/vendor/hoa/math/
H A DContext.php309 … 'round' => xcallable(function ($value, $precision = 0) { return round($value, $precision); }),
/plugin/spatialhelper/helper/
H A Dsearch.php46 private $precision = [5_003_530, 625441, 123264, 19545, 3803, 610, 118, 19, 3.7, 0.6];
181 'precision' => $this->precision [strlen($geohash)]
42 private $precision = array( global() variable in helper_plugin_spatialhelper_search
/plugin/structgeohash/
H A Dgeohash.js79 var precision = 12;
85 while (geohash.length < precision) {
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/
H A DBigInteger.php82 private $precision; variable in phpseclib3\\Math\\BigInteger
435 if ($this->precision > 0) {
437 $this->setPrecision($this->precision);
450 if ($this->precision > 0) {
/plugin/findologicxmlexport/vendor/phpunit/php-code-coverage/src/Report/
H A DText.php237 …rotected function printCoverageCounts($numberOfCoveredElements, $totalNumberOfElements, $precision) argument
239 $format = '%' . $precision . 's';

1234