source: CIVL/examples/complex/complex_funs.c@ 478ca9e

2.0 acw/focus-triggers main
Last change on this file since 478ca9e was 478ca9e, checked in by Stephen Siegel <siegel@…>, 2 weeks ago

Working on Complex Transformer. A few remnants of the $state type found
and being deleted.

  • Property mode set to 100644
File size: 122 bytes
Line 
1#include <complex.h>
2#include <assert.h>
3
4int main(void) {
5 double _Complex x = 3.0+4.0i;
6 assert(cabs(x) == 5.0);
7
8}
9
10
Note: See TracBrowser for help on using the repository browser.