view src/test/main_log.c @ 226:bd948528b2d6

impl_vm_void_ret
author anatofuz
date Mon, 27 Jan 2020 14:13:05 +0900
parents d92c7a06d714
children
line wrap: on
line source

#include "../ln.h"
#include "stdio.h"

void print_ln(int n) {
    printf("n = %d, ln = %d\n",n,ln(n));
}

int main() {
   int n = 2; 
   print_ln(1);
   print_ln(10);
   print_ln(100);
   print_ln(1000);
   print_ln(10000);
   print_ln(100000);
   return 0;
}