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

void test(float a, float b, float c) {
    int n = round((c-a) / (b-a));
    for (int i=0; i<=n; i++) {
        printf("%g ", i*(b-a)+a);
    }
    printf("\n");
}

void test_floor(float a, float b, float c) {
    int n = floor((c-a) / (b-a));
    for (int i=0; i<=n; i++) {
        printf("%g ", i*(b-a)+a);
    }
    printf("\n");
}

int main() {
    test(1.3, 1.6, 2.8);
    test_floor(1.3, 1.6, 2.8);
    return 0;
}