view src/build-msvctools/compat/cabsf.c @ 7207:9ed6500e56d3 default tip @

maint: Merge release to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 17 May 2024 20:16:41 +0200
parents f8299bb6c872
children
line wrap: on
line source

#include <math.h>
#include <complex.h>

float cabsf (float complex Z)
{
  return (float) _hypot ( __real__ Z,  __imag__ Z);
}