| 2469 | return bv_variable_create_uchar(ret); |
| 2470 | } |
| 2471 | bv_variable lib_common_any(bv_program* prog, u8 count, bv_variable* args) |
| 2472 | { |
| 2473 | /* bool any(bvec) */ |
| 2474 | bv_object* x = bv_variable_get_object(args[0]); |
| 2475 | |
| 2476 | u8 ret = 0; |
| 2477 | |
| 2478 | for (u8 i = 0; i < x->type->props.name_count; i++) |
| 2479 | ret |= bv_variable_get_uchar(x->prop[i]); |
| 2480 | |
| 2481 | return bv_variable_create_uchar(ret); |
| 2482 | } |
| 2483 | |
| 2484 | /* matrix */ |
| 2485 | bv_variable lib_common_determinant(bv_program* prog, u8 count, bv_variable* args) |
nothing calls this directly
no outgoing calls
no test coverage detected