influxdata / flux

Flux is a lightweight scripting language for querying databases (like InfluxDB) and working with data. It's part of InfluxDB 1.7 and 2.0, but can be run independently of those.
https://influxdata.com
MIT License
769 stars 153 forks source link

chore(docs): update math.copysign example with negative values #5441

Closed sanderson closed 1 year ago

sanderson commented 1 year ago

A user noted that the example for math.copysign does not include any negative values in the example input so it doesn't really show what the function does. This updates the sample data to include negative y values.

Related to influxdata/docs-v2#5229

Checklist

Dear Author :wave:, the following checks should be completed (or explicitly dismissed) before merging.

Dear Reviewer(s) :wave:, you are responsible (among others) for ensuring the completeness and quality of the above before approval.