Commit Graph

3 Commits

Author SHA1 Message Date
Fraser Waters f31c50eba2
Use exact IEEE double min and max values in output test ()
Use the _exact_ value of double min and max in the PCL file for the
number conformance test.

This doesn't change anything currently, but if making any changes to
programgen to try and select between big integers and doubles (for
https://github.com/pulumi/pulumi/issues/14242) the exact value matters.

We try to keep things as plain numbers in programgen where possible, and
only make things into "big integers" (what ever that means per language)
when it needs to be a big integer to maintain precision of the value
given.
2024-08-12 14:46:41 +00:00
Fraser Waters 883f6b6ac9
Add negative number to the number output conformance test () 2024-04-06 12:31:58 +00:00
Fraser Waters 553f23cf5f
Add a conformance test for number outputs ()
This adds a conformance test that we can generate programs that return
various numbers as stack output values.
2024-03-29 12:12:31 +00:00