[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 5e493f40 02/11: Rename ncnnnpnn
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 5e493f40 02/11: Rename ncnnnpnn |
Date: |
Fri, 29 Apr 2022 11:59:31 -0400 (EDT) |
branch: master
commit 5e493f40d88fbf8e98938908edae31258830d62b
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Rename ncnnnpnn
This code, unjustly disused since 2005, arises with a new name:
"Then this prince no more to reign / Came to life and lived again."
--Hodgson
---
Makefile.am | 10 +++++-----
ncnnnpnn.hpp => duff_fmt.hpp | 6 +++---
ncnnnpnn_test.cpp => duff_fmt_test.cpp | 2 +-
objects.make | 10 +++++-----
4 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 5acfd5aa..02a82878 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -113,6 +113,7 @@ TESTS = \
crc32_test \
currency_test \
dbo_rules_test \
+ duff_fmt_test \
et_vector_test \
expression_template_0_test \
fenv_lmi_test \
@@ -142,7 +143,6 @@ TESTS = \
monnaie_test \
mortality_rates_test \
name_value_pairs_test \
- ncnnnpnn_test \
null_stream_test \
numeric_io_test \
path_utility_test \
@@ -690,6 +690,9 @@ dbo_rules_test_CXXFLAGS = $(AM_CXXFLAGS)
dbo_rules_test_LDADD = \
libtest_common.la
+duff_fmt_test_LDADD = \
+ libtest_common.la
+
et_vector_test_LDADD = \
libtest_common.la
@@ -914,9 +917,6 @@ name_value_pairs_test_CXXFLAGS = $(AM_CXXFLAGS)
name_value_pairs_test_LDADD = \
libtest_common.la
-ncnnnpnn_test_LDADD = \
- libtest_common.la
-
null_stream_test_LDADD = \
libtest_common.la
@@ -1143,6 +1143,7 @@ noinst_HEADERS = \
default_view.hpp \
deserialize_cast.hpp \
docmanager_ex.hpp \
+ duff_fmt.hpp \
edit_mvc_docview_parameters.hpp \
emit_ledger.hpp \
exit_codes.hpp \
@@ -1239,7 +1240,6 @@ noinst_HEADERS = \
mvc_view.hpp \
my_proem.hpp \
name_value_pairs.hpp \
- ncnnnpnn.hpp \
null_stream.hpp \
numeric_io_cast.hpp \
numeric_io_traits.hpp \
diff --git a/ncnnnpnn.hpp b/duff_fmt.hpp
similarity index 97%
rename from ncnnnpnn.hpp
rename to duff_fmt.hpp
index 04286c1b..1a42eab8 100644
--- a/ncnnnpnn.hpp
+++ b/duff_fmt.hpp
@@ -23,8 +23,8 @@
// like money_put, but most of our compilers's standard libraries don't
// support that, so we use this US-specific workaround.
-#ifndef ncnnnpnn_hpp
-#define ncnnnpnn_hpp
+#ifndef duff_fmt_hpp
+#define duff_fmt_hpp
#include "config.hpp"
@@ -85,4 +85,4 @@ inline std::string ncnnnpnn(long double value)
return s_out;
}
-#endif // ncnnnpnn_hpp
+#endif // duff_fmt_hpp
diff --git a/ncnnnpnn_test.cpp b/duff_fmt_test.cpp
similarity index 99%
rename from ncnnnpnn_test.cpp
rename to duff_fmt_test.cpp
index 80b4aca3..f8cfbc3f 100644
--- a/ncnnnpnn_test.cpp
+++ b/duff_fmt_test.cpp
@@ -21,7 +21,7 @@
#include "pchfile.hpp"
-#include "ncnnnpnn.hpp"
+#include "duff_fmt.hpp"
#include "test_tools.hpp"
diff --git a/objects.make b/objects.make
index f19aa947..0cfe266f 100644
--- a/objects.make
+++ b/objects.make
@@ -375,6 +375,7 @@ unit_test_targets := \
crc32_test \
currency_test \
dbo_rules_test \
+ duff_fmt_test \
et_vector_test \
expression_template_0_test \
fenv_lmi_test \
@@ -404,7 +405,6 @@ unit_test_targets := \
monnaie_test \
mortality_rates_test \
name_value_pairs_test \
- ncnnnpnn_test \
null_stream_test \
numeric_io_test \
path_utility_test \
@@ -576,6 +576,10 @@ dbo_rules_test$(EXEEXT): \
mc_enum_types.o \
timer.o \
+duff_fmt_test$(EXEEXT): \
+ $(common_test_objects) \
+ duff_fmt_test.o \
+
et_vector_test$(EXEEXT): \
$(common_test_objects) \
et_vector_test.o \
@@ -836,10 +840,6 @@ name_value_pairs_test$(EXEEXT): \
null_stream.o \
path_utility.o \
-ncnnnpnn_test$(EXEEXT): \
- $(common_test_objects) \
- ncnnnpnn_test.o \
-
null_stream_test$(EXEEXT): \
$(common_test_objects) \
null_stream.o \
- [lmi-commits] [lmi] master updated (a2c3a37c -> 92d90368), Greg Chicares, 2022/04/29
- [lmi-commits] [lmi] master 17f6042e 01/11: Test nonstandard "'" printf flag, Greg Chicares, 2022/04/29
- [lmi-commits] [lmi] master 5e493f40 02/11: Rename ncnnnpnn,
Greg Chicares <=
- [lmi-commits] [lmi] master a87f01b0 03/11: Rename a function, Greg Chicares, 2022/04/29
- [lmi-commits] [lmi] master 51c6865b 04/11: Use non-long double for duff_fmt(), Greg Chicares, 2022/04/29
- [lmi-commits] [lmi] master e8d7f191 05/11: Use low-level functions for low-level work, Greg Chicares, 2022/04/29
- [lmi-commits] [lmi] master 2202d220 09/11: Reimplement ledger_format() in terms of duff_fmt(), Greg Chicares, 2022/04/29
- [lmi-commits] [lmi] master d46e3440 07/11: Modernize duff_fmt(), Greg Chicares, 2022/04/29
- [lmi-commits] [lmi] master d838ad1f 06/11: Make number of decimals a duff_fmt() argument, Greg Chicares, 2022/04/29
- [lmi-commits] [lmi] master e8d4b982 08/11: Measure ledger_format() speed, Greg Chicares, 2022/04/29
- [lmi-commits] [lmi] master 92d90368 11/11: Designate release candidate 20220429T1437Z, Greg Chicares, 2022/04/29
- [lmi-commits] [lmi] master 542c0473 10/11: Augment unit test, Greg Chicares, 2022/04/29