Skip to content

Commit

Permalink
version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MaJerle committed Nov 15, 2020
1 parent 3424370 commit 4d47833
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion dev/VisualStudio/lwprintf_opts.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* This file is part of Lightweight stdio manager library.
*
* Author: Tilen MAJERLE <tilen@majerle.eu>
* Version: $_version_$
* Version: v1.0.0
*/
#ifndef LWPRINTF_HDR_OPTS_H
#define LWPRINTF_HDR_OPTS_H
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
author = 'Tilen MAJERLE'

# The full version, including alpha/beta/rc tags
version = '$_version_$'
version = '1.0.0'

# Try to get branch at which this is running
# and try to determine which version to display in sphinx
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* This file is part of LwPRINTF - Lightweight stdio manager library.
*
* Author: Tilen MAJERLE <tilen@majerle.eu>
* Version: $_version_$
* Version: v1.0.0
*/
#ifndef LWPRINTF_HDR_OPTS_H
#define LWPRINTF_HDR_OPTS_H
Expand Down
2 changes: 1 addition & 1 deletion lwprintf/src/include/lwprintf/lwprintf.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* This file is part of LwPRINTF - Lightweight stdio manager library.
*
* Author: Tilen MAJERLE <tilen@majerle.eu>
* Version: $_version_$
* Version: v1.0.0
*/
#ifndef LWPRINTF_HDR_H
#define LWPRINTF_HDR_H
Expand Down
2 changes: 1 addition & 1 deletion lwprintf/src/include/lwprintf/lwprintf_opt.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* This file is part of LwPRINTF - Lightweight stdio manager library.
*
* Author: Tilen MAJERLE <tilen@majerle.eu>
* Version: $_version_$
* Version: v1.0.0
*/
#ifndef LWPRINTF_HDR_OPT_H
#define LWPRINTF_HDR_OPT_H
Expand Down
2 changes: 1 addition & 1 deletion lwprintf/src/include/lwprintf/lwprintf_opts_template.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* This file is part of LwPRINTF - Lightweight stdio manager library.
*
* Author: Tilen MAJERLE <tilen@majerle.eu>
* Version: $_version_$
* Version: v1.0.0
*/
#ifndef LWPRINTF_HDR_OPTS_H
#define LWPRINTF_HDR_OPTS_H
Expand Down
2 changes: 1 addition & 1 deletion lwprintf/src/include/system/lwprintf_sys.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* This file is part of LwPRINTF - Lightweight stdio manager library.
*
* Author: Tilen MAJERLE <tilen@majerle.eu>
* Version: $_version_$
* Version: v1.0.0
*/
#ifndef LWPRINTF_HDR_SYS_H
#define LWPRINTF_HDR_SYS_H
Expand Down
10 changes: 5 additions & 5 deletions lwprintf/src/lwprintf/lwprintf.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* This file is part of LwPRINTF - Lightweight stdio manager library.
*
* Author: Tilen MAJERLE <tilen@majerle.eu>
* Version: $_version_$
* Version: v1.0.0
*/
#include <limits.h>
#include <float.h>
Expand Down Expand Up @@ -610,7 +610,7 @@ prv_double_to_str(lwprintf_int_t* p, double in_num) {
size_t i;
int digits_cnt, chosen_precision;
char def_type = p->m.type;

#if LWPRINTF_CFG_SUPPORT_LONG_LONG
char str[22];
#else
Expand Down Expand Up @@ -705,14 +705,14 @@ prv_double_to_str(lwprintf_int_t* p, double in_num) {
* depending on the value converted and the precision.
* Let 'P' equal the precision if nonzero, '6' if the precision is omitted, or '1' if the precision is zero.
* Then, if a conversion with style 'E' would have an exponent of 'X':
*
*
* if 'P > X >= -4', the conversion is with style 'f' (or 'F') and precision 'P - (X + 1)'.
* otherwise, the conversion is with style 'e' (or 'E') and precision 'P - 1'.
*
* Finally, unless the '#' flag is used,
* any trailing zeros are removed from the fractional portion of the result
* and the decimal-point character is removed if there is no fractional portion remaining.
*
*
* A double argument representing an infinity or 'NaN' is converted in the style of an 'f' or 'F' conversion specifier.
*/

Expand Down Expand Up @@ -872,7 +872,7 @@ prv_format(lwprintf_int_t* p, va_list arg) {
if (p->is_print_cancelled) {
break;
}

/* Parse format */
/* %[flags][width][.precision][length]type */
/* Go to https://docs.majerle.eu for more info about supported features */
Expand Down
2 changes: 1 addition & 1 deletion lwprintf/src/system/lwprintf_sys_cmsis_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* This file is part of LwPRINTF - Lightweight stdio manager library.
*
* Author: Tilen MAJERLE <tilen@majerle.eu>
* Version: $_version_$
* Version: v1.0.0
*/
#include "system/lwprintf_sys.h"

Expand Down
2 changes: 1 addition & 1 deletion lwprintf/src/system/lwprintf_sys_template.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* This file is part of LwPRINTF - Lightweight stdio manager library.
*
* Author: Tilen MAJERLE <tilen@majerle.eu>
* Version: $_version_$
* Version: v1.0.0
*/
#include "system/lwprintf_sys.h"

Expand Down
2 changes: 1 addition & 1 deletion lwprintf/src/system/lwprintf_sys_win32.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* This file is part of LwPRINTF - Lightweight stdio manager library.
*
* Author: Tilen MAJERLE <tilen@majerle.eu>
* Version: $_version_$
* Version: v1.0.0
*/
#include "system/lwprintf_sys.h"

Expand Down

0 comments on commit 4d47833

Please sign in to comment.