#include <math.h>
#include <stdio.h>

int main() {
    float x = 0.0f;
    float y = x * -1;
    float z = x * NAN;
    float a = x * INFINITY;
    float b = y * INFINITY;
    printf("%.08f\n", x);
    printf("%.08f\n", y);
    printf("%.08f\n", z);
    printf("%.08f\n", a);
    printf("%.08f\n", b);
    return 0;
}