ivan100sic / competelib-snippets

Snippets for competitive programming
The Unlicense
5 stars 2 forks source link

Add poly_complex_exp #25

Closed Sprdalo closed 2 months ago

Sprdalo commented 2 months ago

Seems impossible to test in the same manner, as other two poly templates, due to precision error.

ivan100sic commented 2 months ago

Yes, you're right. The proper way to test for equality is what you've done in this PR, you were just lucky with poly_real.