manticoresoftware / manticoresoftware/manticore-load
Feature Request: Add decimals parameter to specify precision in array_float function
Open
- Dominant language
- PHP
- Stars
- 8
- Forks
- 0
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 2
Description
I propose adding a new optional parameter to the array_float function, to allow specifying the number of decimal places for rounding.
This feature would be particularly useful for vector testing, where comparing arrays of floating-point numbers to a specific precision is a common requirement.
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the array_float function and inspect its existing callers and tests. Add an optional precision parameter for decimal-place rounding, then update or add coverage that verifies array comparisons at the requested precision.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100