Skip to content

Commit 6bcd19c

Browse files
committed
docs: add type suffixes
1 parent f02a0d6 commit 6bcd19c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/node_modules/@stdlib/_tools/scaffold/math-strided-real-typed-unary/data/examples/c/example__c.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ int main( void ) {
2727
const {{C_TYPE}} x[] = { {{C_X_VALUES_LEN_8}} };
2828

2929
// Create an output strided array:
30-
{{C_TYPE}} y[] = { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 };
30+
{{C_TYPE}} y[] = { 0.0{{C_TYPE_SUFFIX}}, 0.0{{C_TYPE_SUFFIX}}, 0.0{{C_TYPE_SUFFIX}}, 0.0{{C_TYPE_SUFFIX}}, 0.0{{C_TYPE_SUFFIX}}, 0.0{{C_TYPE_SUFFIX}}, 0.0{{C_TYPE_SUFFIX}}, 0.0{{C_TYPE_SUFFIX}} };
3131

3232
// Specify the number of elements:
3333
const int64_t N = 4;

lib/node_modules/@stdlib/_tools/scaffold/math-strided-real-typed-unary/data/src/alias__c.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
* const {{C_TYPE}} x[] = { {{C_X_VALUES_LEN_8}} };
4040
*
4141
* // Create an output strided array:
42-
* {{C_TYPE}} y[] = { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 };
42+
* {{C_TYPE}} y[] = { 0.0{{C_TYPE_SUFFIX}}, 0.0{{C_TYPE_SUFFIX}}, 0.0{{C_TYPE_SUFFIX}}, 0.0{{C_TYPE_SUFFIX}}, 0.0{{C_TYPE_SUFFIX}}, 0.0{{C_TYPE_SUFFIX}}, 0.0{{C_TYPE_SUFFIX}}, 0.0{{C_TYPE_SUFFIX}} };
4343
*
4444
* // Specify the number of elements:
4545
* const int64_t N = 4;

0 commit comments

Comments
 (0)