@@ -197,7 +197,10 @@ int8_t stdlib_ndarray_z_as_c_0d( struct ndarray *arrays[], void *fcn ) {
197197int8_t stdlib_ndarray_z_as_c_1d ( struct ndarray * arrays [], void * fcn ) {
198198 typedef stdlib_complex64_t func_type ( void );
199199 func_type * f = (func_type * )fcn ;
200- STDLIB_NDARRAY_NULLARY_1D_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
200+ int8_t status = STDLIB_NDARRAY_NULLARY_1D_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
201+ if ( status != 0 ) {
202+ return -1 ;
203+ }
201204 return 0 ;
202205}
203206
@@ -281,7 +284,10 @@ int8_t stdlib_ndarray_z_as_c_1d( struct ndarray *arrays[], void *fcn ) {
281284int8_t stdlib_ndarray_z_as_c_2d ( struct ndarray * arrays [], void * fcn ) {
282285 typedef stdlib_complex64_t func_type ( void );
283286 func_type * f = (func_type * )fcn ;
284- STDLIB_NDARRAY_NULLARY_2D_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
287+ int8_t status = STDLIB_NDARRAY_NULLARY_2D_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
288+ if ( status != 0 ) {
289+ return -1 ;
290+ }
285291 return 0 ;
286292}
287293
@@ -365,7 +371,10 @@ int8_t stdlib_ndarray_z_as_c_2d( struct ndarray *arrays[], void *fcn ) {
365371int8_t stdlib_ndarray_z_as_c_2d_blocked ( struct ndarray * arrays [], void * fcn ) {
366372 typedef stdlib_complex64_t func_type ( void );
367373 func_type * f = (func_type * )fcn ;
368- STDLIB_NDARRAY_NULLARY_2D_BLOCKED_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
374+ int8_t status = STDLIB_NDARRAY_NULLARY_2D_BLOCKED_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
375+ if ( status != 0 ) {
376+ return -1 ;
377+ }
369378 return 0 ;
370379}
371380
@@ -449,7 +458,10 @@ int8_t stdlib_ndarray_z_as_c_2d_blocked( struct ndarray *arrays[], void *fcn ) {
449458int8_t stdlib_ndarray_z_as_c_3d ( struct ndarray * arrays [], void * fcn ) {
450459 typedef stdlib_complex64_t func_type ( void );
451460 func_type * f = (func_type * )fcn ;
452- STDLIB_NDARRAY_NULLARY_3D_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
461+ int8_t status = STDLIB_NDARRAY_NULLARY_3D_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
462+ if ( status != 0 ) {
463+ return -1 ;
464+ }
453465 return 0 ;
454466}
455467
@@ -533,7 +545,10 @@ int8_t stdlib_ndarray_z_as_c_3d( struct ndarray *arrays[], void *fcn ) {
533545int8_t stdlib_ndarray_z_as_c_3d_blocked ( struct ndarray * arrays [], void * fcn ) {
534546 typedef stdlib_complex64_t func_type ( void );
535547 func_type * f = (func_type * )fcn ;
536- STDLIB_NDARRAY_NULLARY_3D_BLOCKED_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
548+ int8_t status = STDLIB_NDARRAY_NULLARY_3D_BLOCKED_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
549+ if ( status != 0 ) {
550+ return -1 ;
551+ }
537552 return 0 ;
538553}
539554
@@ -617,7 +632,10 @@ int8_t stdlib_ndarray_z_as_c_3d_blocked( struct ndarray *arrays[], void *fcn ) {
617632int8_t stdlib_ndarray_z_as_c_4d ( struct ndarray * arrays [], void * fcn ) {
618633 typedef stdlib_complex64_t func_type ( void );
619634 func_type * f = (func_type * )fcn ;
620- STDLIB_NDARRAY_NULLARY_4D_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
635+ int8_t status = STDLIB_NDARRAY_NULLARY_4D_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
636+ if ( status != 0 ) {
637+ return -1 ;
638+ }
621639 return 0 ;
622640}
623641
@@ -701,7 +719,10 @@ int8_t stdlib_ndarray_z_as_c_4d( struct ndarray *arrays[], void *fcn ) {
701719int8_t stdlib_ndarray_z_as_c_4d_blocked ( struct ndarray * arrays [], void * fcn ) {
702720 typedef stdlib_complex64_t func_type ( void );
703721 func_type * f = (func_type * )fcn ;
704- STDLIB_NDARRAY_NULLARY_4D_BLOCKED_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
722+ int8_t status = STDLIB_NDARRAY_NULLARY_4D_BLOCKED_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
723+ if ( status != 0 ) {
724+ return -1 ;
725+ }
705726 return 0 ;
706727}
707728
@@ -785,7 +806,10 @@ int8_t stdlib_ndarray_z_as_c_4d_blocked( struct ndarray *arrays[], void *fcn ) {
785806int8_t stdlib_ndarray_z_as_c_5d ( struct ndarray * arrays [], void * fcn ) {
786807 typedef stdlib_complex64_t func_type ( void );
787808 func_type * f = (func_type * )fcn ;
788- STDLIB_NDARRAY_NULLARY_5D_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
809+ int8_t status = STDLIB_NDARRAY_NULLARY_5D_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
810+ if ( status != 0 ) {
811+ return -1 ;
812+ }
789813 return 0 ;
790814}
791815
@@ -869,7 +893,10 @@ int8_t stdlib_ndarray_z_as_c_5d( struct ndarray *arrays[], void *fcn ) {
869893int8_t stdlib_ndarray_z_as_c_5d_blocked ( struct ndarray * arrays [], void * fcn ) {
870894 typedef stdlib_complex64_t func_type ( void );
871895 func_type * f = (func_type * )fcn ;
872- STDLIB_NDARRAY_NULLARY_5D_BLOCKED_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
896+ int8_t status = STDLIB_NDARRAY_NULLARY_5D_BLOCKED_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
897+ if ( status != 0 ) {
898+ return -1 ;
899+ }
873900 return 0 ;
874901}
875902
@@ -953,7 +980,10 @@ int8_t stdlib_ndarray_z_as_c_5d_blocked( struct ndarray *arrays[], void *fcn ) {
953980int8_t stdlib_ndarray_z_as_c_6d ( struct ndarray * arrays [], void * fcn ) {
954981 typedef stdlib_complex64_t func_type ( void );
955982 func_type * f = (func_type * )fcn ;
956- STDLIB_NDARRAY_NULLARY_6D_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
983+ int8_t status = STDLIB_NDARRAY_NULLARY_6D_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
984+ if ( status != 0 ) {
985+ return -1 ;
986+ }
957987 return 0 ;
958988}
959989
@@ -1037,7 +1067,10 @@ int8_t stdlib_ndarray_z_as_c_6d( struct ndarray *arrays[], void *fcn ) {
10371067int8_t stdlib_ndarray_z_as_c_6d_blocked ( struct ndarray * arrays [], void * fcn ) {
10381068 typedef stdlib_complex64_t func_type ( void );
10391069 func_type * f = (func_type * )fcn ;
1040- STDLIB_NDARRAY_NULLARY_6D_BLOCKED_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
1070+ int8_t status = STDLIB_NDARRAY_NULLARY_6D_BLOCKED_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
1071+ if ( status != 0 ) {
1072+ return -1 ;
1073+ }
10411074 return 0 ;
10421075}
10431076
@@ -1121,7 +1154,10 @@ int8_t stdlib_ndarray_z_as_c_6d_blocked( struct ndarray *arrays[], void *fcn ) {
11211154int8_t stdlib_ndarray_z_as_c_7d ( struct ndarray * arrays [], void * fcn ) {
11221155 typedef stdlib_complex64_t func_type ( void );
11231156 func_type * f = (func_type * )fcn ;
1124- STDLIB_NDARRAY_NULLARY_7D_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
1157+ int8_t status = STDLIB_NDARRAY_NULLARY_7D_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
1158+ if ( status != 0 ) {
1159+ return -1 ;
1160+ }
11251161 return 0 ;
11261162}
11271163
@@ -1205,7 +1241,10 @@ int8_t stdlib_ndarray_z_as_c_7d( struct ndarray *arrays[], void *fcn ) {
12051241int8_t stdlib_ndarray_z_as_c_7d_blocked ( struct ndarray * arrays [], void * fcn ) {
12061242 typedef stdlib_complex64_t func_type ( void );
12071243 func_type * f = (func_type * )fcn ;
1208- STDLIB_NDARRAY_NULLARY_7D_BLOCKED_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
1244+ int8_t status = STDLIB_NDARRAY_NULLARY_7D_BLOCKED_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
1245+ if ( status != 0 ) {
1246+ return -1 ;
1247+ }
12091248 return 0 ;
12101249}
12111250
@@ -1289,7 +1328,10 @@ int8_t stdlib_ndarray_z_as_c_7d_blocked( struct ndarray *arrays[], void *fcn ) {
12891328int8_t stdlib_ndarray_z_as_c_8d ( struct ndarray * arrays [], void * fcn ) {
12901329 typedef stdlib_complex64_t func_type ( void );
12911330 func_type * f = (func_type * )fcn ;
1292- STDLIB_NDARRAY_NULLARY_8D_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
1331+ int8_t status = STDLIB_NDARRAY_NULLARY_8D_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
1332+ if ( status != 0 ) {
1333+ return -1 ;
1334+ }
12931335 return 0 ;
12941336}
12951337
@@ -1373,7 +1415,10 @@ int8_t stdlib_ndarray_z_as_c_8d( struct ndarray *arrays[], void *fcn ) {
13731415int8_t stdlib_ndarray_z_as_c_8d_blocked ( struct ndarray * arrays [], void * fcn ) {
13741416 typedef stdlib_complex64_t func_type ( void );
13751417 func_type * f = (func_type * )fcn ;
1376- STDLIB_NDARRAY_NULLARY_8D_BLOCKED_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
1418+ int8_t status = STDLIB_NDARRAY_NULLARY_8D_BLOCKED_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
1419+ if ( status != 0 ) {
1420+ return -1 ;
1421+ }
13771422 return 0 ;
13781423}
13791424
@@ -1457,7 +1502,10 @@ int8_t stdlib_ndarray_z_as_c_8d_blocked( struct ndarray *arrays[], void *fcn ) {
14571502int8_t stdlib_ndarray_z_as_c_9d ( struct ndarray * arrays [], void * fcn ) {
14581503 typedef stdlib_complex64_t func_type ( void );
14591504 func_type * f = (func_type * )fcn ;
1460- STDLIB_NDARRAY_NULLARY_9D_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
1505+ int8_t status = STDLIB_NDARRAY_NULLARY_9D_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
1506+ if ( status != 0 ) {
1507+ return -1 ;
1508+ }
14611509 return 0 ;
14621510}
14631511
@@ -1541,7 +1589,10 @@ int8_t stdlib_ndarray_z_as_c_9d( struct ndarray *arrays[], void *fcn ) {
15411589int8_t stdlib_ndarray_z_as_c_9d_blocked ( struct ndarray * arrays [], void * fcn ) {
15421590 typedef stdlib_complex64_t func_type ( void );
15431591 func_type * f = (func_type * )fcn ;
1544- STDLIB_NDARRAY_NULLARY_9D_BLOCKED_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
1592+ int8_t status = STDLIB_NDARRAY_NULLARY_9D_BLOCKED_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
1593+ if ( status != 0 ) {
1594+ return -1 ;
1595+ }
15451596 return 0 ;
15461597}
15471598
@@ -1625,7 +1676,10 @@ int8_t stdlib_ndarray_z_as_c_9d_blocked( struct ndarray *arrays[], void *fcn ) {
16251676int8_t stdlib_ndarray_z_as_c_10d ( struct ndarray * arrays [], void * fcn ) {
16261677 typedef stdlib_complex64_t func_type ( void );
16271678 func_type * f = (func_type * )fcn ;
1628- STDLIB_NDARRAY_NULLARY_10D_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
1679+ int8_t status = STDLIB_NDARRAY_NULLARY_10D_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
1680+ if ( status != 0 ) {
1681+ return -1 ;
1682+ }
16291683 return 0 ;
16301684}
16311685
@@ -1709,7 +1763,10 @@ int8_t stdlib_ndarray_z_as_c_10d( struct ndarray *arrays[], void *fcn ) {
17091763int8_t stdlib_ndarray_z_as_c_10d_blocked ( struct ndarray * arrays [], void * fcn ) {
17101764 typedef stdlib_complex64_t func_type ( void );
17111765 func_type * f = (func_type * )fcn ;
1712- STDLIB_NDARRAY_NULLARY_10D_BLOCKED_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
1766+ int8_t status = STDLIB_NDARRAY_NULLARY_10D_BLOCKED_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
1767+ if ( status != 0 ) {
1768+ return -1 ;
1769+ }
17131770 return 0 ;
17141771}
17151772
@@ -1793,7 +1850,10 @@ int8_t stdlib_ndarray_z_as_c_10d_blocked( struct ndarray *arrays[], void *fcn )
17931850int8_t stdlib_ndarray_z_as_c_nd ( struct ndarray * arrays [], void * fcn ) {
17941851 typedef stdlib_complex64_t func_type ( void );
17951852 func_type * f = (func_type * )fcn ;
1796- STDLIB_NDARRAY_NULLARY_ND_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
1853+ int8_t status = STDLIB_NDARRAY_NULLARY_ND_LOOP_CLBK_RET_CAST_FCN ( stdlib_complex128_t , stdlib_complex128_from_complex64 )
1854+ if ( status != 0 ) {
1855+ return -1 ;
1856+ }
17971857 return 0 ;
17981858}
17991859
0 commit comments