Giter Club home page Giter Club logo

holt-winters's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

holt-winters's Issues

memory issues

Hi,

thanks for porting and releasing this code in C.

It seems there are invalid (out of bounds) reads and writes, and also conditional statements based on unitialized values.

Take a look:

# gcc -ggdb -O1 -Wall -Wextra -o holtwinters holtwinters.c
# valgrind ./holtwinters
==32736== Memcheck, a memory error detector
==32736== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==32736== Using Valgrind-3.11.0 and LibVEX; rerun with -h for copyright info
==32736== Command: ./holtwinters
==32736==
==32736== Invalid write of size 8
==32736==    at 0x400917: HoltWinters (holtwinters.c:77)
==32736==    by 0x400AD9: main (holtwinters.c:118)
==32736==  Address 0x51d20c0 is 0 bytes after a block of size 128 alloc'd
==32736==    at 0x4C29FC1: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==32736==    by 0x400A66: main (holtwinters.c:114)
==32736==
==32736== Invalid read of size 8
==32736==    at 0x400822: HoltWinters (holtwinters.c:61)
==32736==    by 0x400AD9: main (holtwinters.c:118)
==32736==  Address 0x51d20c0 is 0 bytes after a block of size 128 alloc'd
==32736==    at 0x4C29FC1: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==32736==    by 0x400A66: main (holtwinters.c:114)
==32736==
==32736== Invalid read of size 8
==32736==    at 0x400904: HoltWinters (holtwinters.c:78)
==32736==    by 0x400AD9: main (holtwinters.c:118)
==32736==  Address 0x51d20c0 is 0 bytes after a block of size 128 alloc'd
==32736==    at 0x4C29FC1: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==32736==    by 0x400A66: main (holtwinters.c:114)
==32736==
==32736== Invalid read of size 8
==32736==    at 0x400909: HoltWinters (holtwinters.c:78)
==32736==    by 0x400AD9: main (holtwinters.c:118)
==32736==  Address 0x51d2180 is 0 bytes after a block of size 128 alloc'd
==32736==    at 0x4C29FC1: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==32736==    by 0x400A73: main (holtwinters.c:115)
==32736==
Estimated:
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E80198: __printf_fp (printf_fp.c:381)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E8038B: __printf_fp (printf_fp.c:396)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E79B40: __mpn_extract_double (dbl2mpn.c:56)
==32736==    by 0x4E807A6: __printf_fp (printf_fp.c:412)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E79B45: __mpn_extract_double (dbl2mpn.c:60)
==32736==    by 0x4E807A6: __printf_fp (printf_fp.c:412)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E80EF7: __printf_fp (printf_fp.c:951)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E80F7E: __printf_fp (printf_fp.c:960)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E80FAB: __printf_fp (printf_fp.c:963)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E80FBA: __printf_fp (printf_fp.c:963)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E81241: __printf_fp (printf_fp.c:973)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E8124E: __printf_fp (printf_fp.c:973)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E814BC: round_away (rounding-mode.h:52)
==32736==    by 0x4E814BC: __printf_fp (printf_fp.c:980)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E81120: __printf_fp (printf_fp.c:1148)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E8126D: __printf_fp (printf_fp.c:1155)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E81441: __printf_fp (printf_fp.c:1209)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E81422: __printf_fp (printf_fp.c:1211)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4EAAACA: _IO_file_overflow@@GLIBC_2.2.5 (fileops.c:850)
==32736==    by 0x4E82150: __printf_fp (printf_fp.c:1235)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4EAAAEE: _IO_file_overflow@@GLIBC_2.2.5 (fileops.c:858)
==32736==    by 0x4E82150: __printf_fp (printf_fp.c:1235)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E82154: __printf_fp (printf_fp.c:1235)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Syscall param write(buf) points to uninitialised byte(s)
==32736==    at 0x4F128D0: __write_nocancel (syscall-template.S:84)
==32736==    by 0x4EA9966: _IO_file_write@@GLIBC_2.2.5 (fileops.c:1263)
==32736==    by 0x4EA8FA2: new_do_write (fileops.c:518)
==32736==    by 0x4EAA800: _IO_do_write@@GLIBC_2.2.5 (fileops.c:494)
==32736==    by 0x4EA9E9D: _IO_file_xsputn@@GLIBC_2.2.5 (fileops.c:1331)
==32736==    by 0x4E7D393: vfprintf (vfprintf.c:1662)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==  Address 0x4023028 is in a rw- anonymous segment
==32736==
        year = 1800, level: 3.930000, trend: 0.000000
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E80625: __printf_fp (printf_fp.c:465)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E811C2: __printf_fp (printf_fp.c:639)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E811D1: __printf_fp (printf_fp.c:807)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E78928: __mpn_lshift (lshift.S:59)
==32736==    by 0x4E811D5: __printf_fp (printf_fp.c:807)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E7892B: __mpn_lshift (lshift.S:60)
==32736==    by 0x4E811D5: __printf_fp (printf_fp.c:807)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E811E6: __printf_fp (printf_fp.c:808)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E7FC29: hack_digit (printf_fp.c:176)
==32736==    by 0x4E80E3B: __printf_fp (printf_fp.c:924)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E78EC4: __mpn_mul_1 (mul_1.S:36)
==32736==    by 0x4E7FC30: hack_digit (printf_fp.c:177)
==32736==    by 0x4E80E3B: __printf_fp (printf_fp.c:924)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E78EE8: __mpn_mul_1 (mul_1.S:52)
==32736==    by 0x4E7FC30: hack_digit (printf_fp.c:177)
==32736==    by 0x4E80E3B: __printf_fp (printf_fp.c:924)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E7FC29: hack_digit (printf_fp.c:176)
==32736==    by 0x4E80EEE: __printf_fp (printf_fp.c:948)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E78EC4: __mpn_mul_1 (mul_1.S:36)
==32736==    by 0x4E7FC30: hack_digit (printf_fp.c:177)
==32736==    by 0x4E80EEE: __printf_fp (printf_fp.c:948)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E78EE8: __mpn_mul_1 (mul_1.S:52)
==32736==    by 0x4E7FC30: hack_digit (printf_fp.c:177)
==32736==    by 0x4E80EEE: __printf_fp (printf_fp.c:948)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E7FC29: hack_digit (printf_fp.c:176)
==32736==    by 0x4E80F9B: __printf_fp (printf_fp.c:961)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E78EC4: __mpn_mul_1 (mul_1.S:36)
==32736==    by 0x4E7FC30: hack_digit (printf_fp.c:177)
==32736==    by 0x4E80F9B: __printf_fp (printf_fp.c:961)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E78EE8: __mpn_mul_1 (mul_1.S:52)
==32736==    by 0x4E7FC30: hack_digit (printf_fp.c:177)
==32736==    by 0x4E80F9B: __printf_fp (printf_fp.c:961)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E814ED: __printf_fp (printf_fp.c:990)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E814F6: __printf_fp (printf_fp.c:990)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E8154E: __printf_fp (printf_fp.c:1010)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
        year = 1810, level: 5.309891, trend: 0.000000
        year = 1820, level: 7.239847, trend: 0.000000
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E80632: __printf_fp (printf_fp.c:474)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E80A93: __printf_fp (printf_fp.c:482)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E78928: __mpn_lshift (lshift.S:59)
==32736==    by 0x4E80A97: __printf_fp (printf_fp.c:482)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E7892B: __mpn_lshift (lshift.S:60)
==32736==    by 0x4E80A97: __printf_fp (printf_fp.c:482)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E80AB8: __printf_fp (printf_fp.c:487)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E80ACA: __printf_fp (printf_fp.c:488)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E8066D: __printf_fp (printf_fp.c:490)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E8072A: __printf_fp (printf_fp.c:499)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4C2F177: __GI_memcpy (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==32736==    by 0x4E806EA: __printf_fp (printf_fp.c:525)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4C2F34C: __GI_memcpy (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==32736==    by 0x4E806EA: __printf_fp (printf_fp.c:525)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4C2F1E1: __GI_memcpy (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==32736==    by 0x4E806EA: __printf_fp (printf_fp.c:525)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4C2F1F2: __GI_memcpy (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==32736==    by 0x4E806EA: __printf_fp (printf_fp.c:525)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4C2F206: __GI_memcpy (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==32736==    by 0x4E806EA: __printf_fp (printf_fp.c:525)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4C2F3B3: __GI_memcpy (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==32736==    by 0x4E806EA: __printf_fp (printf_fp.c:525)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E806F3: __printf_fp (printf_fp.c:541)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E806F9: __printf_fp (printf_fp.c:541)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E78412: __mpn_cmp (cmp.c:44)
==32736==    by 0x4E80AEC: __printf_fp (printf_fp.c:541)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E78416: __mpn_cmp (cmp.c:45)
==32736==    by 0x4E80AEC: __printf_fp (printf_fp.c:541)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E7841D: __mpn_cmp (cmp.c:46)
==32736==    by 0x4E80AEC: __printf_fp (printf_fp.c:541)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E80AF3: __printf_fp (printf_fp.c:541)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E78EDA: __mpn_mul_1 (mul_1.S:45)
==32736==    by 0x4E7FC30: hack_digit (printf_fp.c:177)
==32736==    by 0x4E80E3B: __printf_fp (printf_fp.c:924)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E78EDF: __mpn_mul_1 (mul_1.S:47)
==32736==    by 0x4E7FC30: hack_digit (printf_fp.c:177)
==32736==    by 0x4E80E3B: __printf_fp (printf_fp.c:924)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E78EE1: __mpn_mul_1 (mul_1.S:48)
==32736==    by 0x4E7FC30: hack_digit (printf_fp.c:177)
==32736==    by 0x4E80E3B: __printf_fp (printf_fp.c:924)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E78EE6: __mpn_mul_1 (mul_1.S:51)
==32736==    by 0x4E7FC30: hack_digit (printf_fp.c:177)
==32736==    by 0x4E80E3B: __printf_fp (printf_fp.c:924)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E78EDA: __mpn_mul_1 (mul_1.S:45)
==32736==    by 0x4E7FC30: hack_digit (printf_fp.c:177)
==32736==    by 0x4E80EEE: __printf_fp (printf_fp.c:948)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E78EDF: __mpn_mul_1 (mul_1.S:47)
==32736==    by 0x4E7FC30: hack_digit (printf_fp.c:177)
==32736==    by 0x4E80EEE: __printf_fp (printf_fp.c:948)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E78EE1: __mpn_mul_1 (mul_1.S:48)
==32736==    by 0x4E7FC30: hack_digit (printf_fp.c:177)
==32736==    by 0x4E80EEE: __printf_fp (printf_fp.c:948)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E78EE6: __mpn_mul_1 (mul_1.S:51)
==32736==    by 0x4E7FC30: hack_digit (printf_fp.c:177)
==32736==    by 0x4E80EEE: __printf_fp (printf_fp.c:948)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E78EDA: __mpn_mul_1 (mul_1.S:45)
==32736==    by 0x4E7FC30: hack_digit (printf_fp.c:177)
==32736==    by 0x4E80F9B: __printf_fp (printf_fp.c:961)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E78EDF: __mpn_mul_1 (mul_1.S:47)
==32736==    by 0x4E7FC30: hack_digit (printf_fp.c:177)
==32736==    by 0x4E80F9B: __printf_fp (printf_fp.c:961)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E78EE1: __mpn_mul_1 (mul_1.S:48)
==32736==    by 0x4E7FC30: hack_digit (printf_fp.c:177)
==32736==    by 0x4E80F9B: __printf_fp (printf_fp.c:961)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E78EE6: __mpn_mul_1 (mul_1.S:51)
==32736==    by 0x4E7FC30: hack_digit (printf_fp.c:177)
==32736==    by 0x4E80F9B: __printf_fp (printf_fp.c:961)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E8151A: __printf_fp (printf_fp.c:990)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E81503: __printf_fp (printf_fp.c:990)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
        year = 1830, level: 9.639810, trend: 0.000000
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4C2F177: __GI_memcpy (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==32736==    by 0x4E80B14: __printf_fp (printf_fp.c:544)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4C2F17D: __GI_memcpy (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==32736==    by 0x4E80B14: __printf_fp (printf_fp.c:544)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4C2F18B: __GI_memcpy (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==32736==    by 0x4E80B14: __printf_fp (printf_fp.c:544)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4C2F1E1: __GI_memcpy (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==32736==    by 0x4E80B14: __printf_fp (printf_fp.c:544)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4C2F3B0: __GI_memcpy (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==32736==    by 0x4E80B14: __printf_fp (printf_fp.c:544)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4C2F3B3: __GI_memcpy (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==32736==    by 0x4E80B14: __printf_fp (printf_fp.c:544)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4C2F3BE: __GI_memcpy (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==32736==    by 0x4E80B14: __printf_fp (printf_fp.c:544)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E80B22: __printf_fp (printf_fp.c:545)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E80B76: __printf_fp (printf_fp.c:563)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E80B86: __printf_fp (printf_fp.c:563)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E80B8A: __printf_fp (printf_fp.c:563)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E8181C: __printf_fp (printf_fp.c:567)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E81E27: __printf_fp (printf_fp.c:595)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E81874: __printf_fp (printf_fp.c:598)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E78A38: __mpn_rshift (rshift.S:62)
==32736==    by 0x4E81895: __printf_fp (printf_fp.c:614)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E78A5D: __mpn_rshift (rshift.S:73)
==32736==    by 0x4E81895: __printf_fp (printf_fp.c:614)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E789E5: __mpn_rshift (rshift.S:31)
==32736==    by 0x4E818B7: __printf_fp (printf_fp.c:630)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E78A0C: __mpn_rshift (rshift.S:45)
==32736==    by 0x4E818B7: __printf_fp (printf_fp.c:630)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E78A36: __mpn_rshift (rshift.S:61)
==32736==    by 0x4E818B7: __printf_fp (printf_fp.c:630)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E78A38: __mpn_rshift (rshift.S:62)
==32736==    by 0x4E818B7: __printf_fp (printf_fp.c:630)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E78A49: __mpn_rshift (rshift.S:67)
==32736==    by 0x4E818B7: __printf_fp (printf_fp.c:630)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E78A5D: __mpn_rshift (rshift.S:73)
==32736==    by 0x4E818B7: __printf_fp (printf_fp.c:630)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E818C9: __printf_fp (printf_fp.c:634)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E7FB4E: hack_digit (printf_fp.c:182)
==32736==    by 0x4E80E3B: __printf_fp (printf_fp.c:924)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E787B5: __mpn_divrem (divrem.c:72)
==32736==    by 0x4E7FBA5: hack_digit (printf_fp.c:186)
==32736==    by 0x4E80E3B: __printf_fp (printf_fp.c:924)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736==
==32736== More than 100 errors detected.  Subsequent errors
==32736== will still be recorded, but in less detail than before.
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E787BB: __mpn_divrem (divrem.c:73)
==32736==    by 0x4E7FBA5: hack_digit (printf_fp.c:186)
==32736==    by 0x4E80E3B: __printf_fp (printf_fp.c:924)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E787C3: __mpn_divrem (divrem.c:75)
==32736==    by 0x4E7FBA5: hack_digit (printf_fp.c:186)
==32736==    by 0x4E80E3B: __printf_fp (printf_fp.c:924)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E787D4: __mpn_divrem (divrem.c:82)
==32736==    by 0x4E7FBA5: hack_digit (printf_fp.c:186)
==32736==    by 0x4E80E3B: __printf_fp (printf_fp.c:924)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E78823: __mpn_divrem (divrem.c:89)
==32736==    by 0x4E7FBA5: hack_digit (printf_fp.c:186)
==32736==    by 0x4E80E3B: __printf_fp (printf_fp.c:924)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E7FBB2: hack_digit (printf_fp.c:188)
==32736==    by 0x4E80E3B: __printf_fp (printf_fp.c:924)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E7FBC1: hack_digit (printf_fp.c:189)
==32736==    by 0x4E80E3B: __printf_fp (printf_fp.c:924)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E7FBD2: hack_digit (printf_fp.c:192)
==32736==    by 0x4E80E3B: __printf_fp (printf_fp.c:924)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E7FBD8: hack_digit (printf_fp.c:192)
==32736==    by 0x4E80E3B: __printf_fp (printf_fp.c:924)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E78EC4: __mpn_mul_1 (mul_1.S:36)
==32736==    by 0x4E7FB65: hack_digit (printf_fp.c:203)
==32736==    by 0x4E80E3B: __printf_fp (printf_fp.c:924)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E78EE8: __mpn_mul_1 (mul_1.S:52)
==32736==    by 0x4E7FB65: hack_digit (printf_fp.c:203)
==32736==    by 0x4E80E3B: __printf_fp (printf_fp.c:924)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E7FB69: hack_digit (printf_fp.c:204)
==32736==    by 0x4E80E3B: __printf_fp (printf_fp.c:924)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E7FB7B: hack_digit (printf_fp.c:205)
==32736==    by 0x4E80E3B: __printf_fp (printf_fp.c:924)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E787E0: __mpn_divrem (divrem.c:83)
==32736==    by 0x4E7FBA5: hack_digit (printf_fp.c:186)
==32736==    by 0x4E80E3B: __printf_fp (printf_fp.c:924)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E787EB: __mpn_divrem (divrem.c:83)
==32736==    by 0x4E7FBA5: hack_digit (printf_fp.c:186)
==32736==    by 0x4E80E3B: __printf_fp (printf_fp.c:924)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E7FBB2: hack_digit (printf_fp.c:188)
==32736==    by 0x4E80EEE: __printf_fp (printf_fp.c:948)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E7FBC1: hack_digit (printf_fp.c:189)
==32736==    by 0x4E80EEE: __printf_fp (printf_fp.c:948)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E7FBD2: hack_digit (printf_fp.c:192)
==32736==    by 0x4E80EEE: __printf_fp (printf_fp.c:948)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E7FBD8: hack_digit (printf_fp.c:192)
==32736==    by 0x4E80EEE: __printf_fp (printf_fp.c:948)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E7FB69: hack_digit (printf_fp.c:204)
==32736==    by 0x4E80EEE: __printf_fp (printf_fp.c:948)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E7FB7B: hack_digit (printf_fp.c:205)
==32736==    by 0x4E80EEE: __printf_fp (printf_fp.c:948)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E7FBB2: hack_digit (printf_fp.c:188)
==32736==    by 0x4E80F9B: __printf_fp (printf_fp.c:961)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E7FBC1: hack_digit (printf_fp.c:189)
==32736==    by 0x4E80F9B: __printf_fp (printf_fp.c:961)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E7FBD2: hack_digit (printf_fp.c:192)
==32736==    by 0x4E80F9B: __printf_fp (printf_fp.c:961)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E7FBD8: hack_digit (printf_fp.c:192)
==32736==    by 0x4E80F9B: __printf_fp (printf_fp.c:961)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E7FB69: hack_digit (printf_fp.c:204)
==32736==    by 0x4E80F9B: __printf_fp (printf_fp.c:961)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E7FB7B: hack_digit (printf_fp.c:205)
==32736==    by 0x4E80F9B: __printf_fp (printf_fp.c:961)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
        year = 1840, level: 12.899742, trend: 0.000000
==32736== Conditional jump or move depends on uninitialised value(s)
==32736==    at 0x4E787F6: __mpn_divrem (divrem.c:82)
==32736==    by 0x4E7FBA5: hack_digit (printf_fp.c:186)
==32736==    by 0x4E80E3B: __printf_fp (printf_fp.c:924)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
        year = 1850, level: 17.099667, trend: 0.000000
        year = 1860, level: 23.199517, trend: 0.000000
        year = 1870, level: 31.399351, trend: 0.000000
        year = 1880, level: 39.799335, trend: 0.000000
        year = 1890, level: 50.199176, trend: 0.000000
        year = 1900, level: 62.898994, trend: 0.000000
        year = 1910, level: 75.998962, trend: 0.000000
        year = 1920, level: 91.998733, trend: 0.000000
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E78EC4: __mpn_mul_1 (mul_1.S:36)
==32736==    by 0x4E78B81: __mpn_mul (mul.c:90)
==32736==    by 0x4E80754: __printf_fp (printf_fp.c:531)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E78F4F: __mpn_mul_1 (mul_1.S:85)
==32736==    by 0x4E78B81: __mpn_mul (mul.c:90)
==32736==    by 0x4E80754: __printf_fp (printf_fp.c:531)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E78FC2: __mpn_mul_1 (mul_1.S:117)
==32736==    by 0x4E78B81: __mpn_mul (mul.c:90)
==32736==    by 0x4E80754: __printf_fp (printf_fp.c:531)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E78B92: __mpn_mul (mul.c:92)
==32736==    by 0x4E80754: __printf_fp (printf_fp.c:531)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
        year = 1930, level: 105.698915, trend: 0.000000
        year = 1940, level: 122.798646, trend: 0.000000
==32736== Use of uninitialised value of size 8
==32736==    at 0x4E81B74: __printf_fp (printf_fp.c:965)
==32736==    by 0x4E7EDB1: vfprintf (vfprintf.c:1630)
==32736==    by 0x4F2D986: __printf_chk (printf_chk.c:35)
==32736==    by 0x400B14: printf (stdio2.h:104)
==32736==    by 0x400B14: main (holtwinters.c:140)
==32736==
        year = 1950, level: 131.699295, trend: 0.000000
==32736==
==32736== HEAP SUMMARY:
==32736==     in use at exit: 0 bytes in 0 blocks
==32736==   total heap usage: 3 allocs, 3 frees, 384 bytes allocated
==32736==
==32736== All heap blocks were freed -- no leaks are possible
==32736==
==32736== For counts of detected and suppressed errors, rerun with: -v
==32736== Use --track-origins=yes to see where uninitialised values come from
==32736== ERROR SUMMARY: 4061 errors from 132 contexts (suppressed: 0 from 0)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.